Documentation ¶
Index ¶
- func CertFile()
- func CopyFile(src string, dst string) error
- func CreateDirIfNotExisted()
- func GetDownloadDirPath() string
- func GetEmptyFilePath() string
- func GetQuicsDirPath() string
- func GetQuicsTempDirPath() string
- func InitJobList()
- func LocalAbsToRoot(abs string, root string) string
- func LocalRelToRoot(rel string, root string) string
- func MakeHash(after string, info os.FileInfo) string
- func ReadEnvFile() []string
- type JPriority
- type JStatus
- type JType
- type Job
- type JobList
- type ViperConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirIfNotExisted ¶
func CreateDirIfNotExisted()
CreateDirIfNotExisted creates the quics folder if it does not exist
func GetEmptyFilePath ¶
func GetEmptyFilePath() string
get new emptyfile in quicsDir, if not exist then create new emptyfile
func GetQuicsDirPath ¶
func GetQuicsDirPath() string
GetQuicsDirPath returns the path of the quics folder
func InitJobList ¶
func InitJobList()
func LocalAbsToRoot ¶
LocalAbsToRoot converts an absolute path to a relative path to the root ex) LocalAbsToRoot("/a/rootDir/c", "/a/rootDir") -> "/rootDir/c"
func LocalRelToRoot ¶
LocalRelToRoot converts a relative path to a relative path to the root ex) LocalRelToRoot("./b/c", "a/b") -> "/c"
func ReadEnvFile ¶
func ReadEnvFile() []string
Types ¶
type Job ¶
type JobList ¶
type JobList struct {
// contains filtered or unexported fields
}
var JList *JobList
func (*JobList) MoveJobAToB ¶
func (*JobList) PrintJobList ¶
func (JList *JobList) PrintJobList()
type ViperConfig ¶
Click to show internal directories.
Click to hide internal directories.