Documentation
¶
Index ¶
- func AutoMkdirAll(tmpFileDir string) error
- func Cmd(name string, arg ...string) (string, error)
- func FtpAbs(path string) string
- func FtpAutoMkdir(client *goftp.Client, remotePath string) error
- func FtpIsExist(client *goftp.Client, path string) bool
- func FtpRead(client *goftp.Client, path string) (string, error)
- func FtpWrite(client *goftp.Client, remotePath string, data []byte) error
- func FtpWriteByFile(client *goftp.Client, localPath string, remotePath string) error
- func GetCurrentPath() (string, error)
- func GetDiffFiles(currentTempGitDir string, onlineHash string) ([]string, error)
- func GetGitRemoteUrl() (string, error)
- func GetHashByFtp(client *goftp.Client, item ftpConfig, currentTempGitDir string) string
- func GitNowHash(currentTempGitDir string) (string, error)
- func InitGit2ftpConfig() git2ftpConfig
- func IsExist(path string) bool
- func SyncGit(currentTempGitDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMkdirAll ¶
func FtpWriteByFile ¶
func GetCurrentPath ¶
func GetDiffFiles ¶
func GetGitRemoteUrl ¶
func GetHashByFtp ¶
func GitNowHash ¶
func InitGit2ftpConfig ¶
func InitGit2ftpConfig() git2ftpConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.