management

package
v0.0.2-0...-83fa1ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFiberURL

func BuildFiberURL(host string, port int) string

func ContainsRegex

func ContainsRegex(s []string, e string) bool

func CopyFiles

func CopyFiles(args tasks.CopyArgs) error

func DebugStartServer

func DebugStartServer(a *fiber.App)

func DeleteFiles

func DeleteFiles(args tasks.TaskArgs) error

func ListFiles

func ListFiles(args tasks.TaskArgs) error

func MoveFiles

func MoveFiles(args tasks.MoveArgs) error

func RenameFiles

func RenameFiles(args tasks.RenameArgs) error

func RunDelete

func RunDelete(toDelete []string) error

func StartServer

func StartServer(a *fiber.App, host string, port int)

func SyncFiles

func SyncFiles(args tasks.SyncArgs) error

func WatchPath

func WatchPath(path string)

Types

type FileOp

type FileOp uint32
const (
	Create FileOp = 1 << iota
	Write
	Remove
	Rename
	Chmod
	Move = Create | Rename
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL