Documentation ¶
Index ¶
- type AppFiles
- type ApplicationFiles
- func (appfiles ApplicationFiles) AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)
- func (appfiles ApplicationFiles) CopyFiles(appFiles []models.AppFileFields, fromDir, toDir string) (err error)
- func (appfiles ApplicationFiles) CountFiles(directory string) int64
- func (appfiles ApplicationFiles) WalkAppFiles(dir string, onEachFile func(string, string) error) (err error)
- type ApplicationZipper
- func (zipper ApplicationZipper) GetZipSize(zipFile *os.File) (int64, error)
- func (zipper ApplicationZipper) IsZipFile(file string) (result bool)
- func (zipper ApplicationZipper) Unzip(appDir string, destDir string) (err error)
- func (zipper ApplicationZipper) Zip(dirOrZipFile string, targetFile *os.File) (err error)
- type CfIgnore
- type Zipper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationFiles ¶
type ApplicationFiles struct{}
func (ApplicationFiles) AppFilesInDir ¶
func (appfiles ApplicationFiles) AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)
func (ApplicationFiles) CopyFiles ¶
func (appfiles ApplicationFiles) CopyFiles(appFiles []models.AppFileFields, fromDir, toDir string) (err error)
func (ApplicationFiles) CountFiles ¶
func (appfiles ApplicationFiles) CountFiles(directory string) int64
func (ApplicationFiles) WalkAppFiles ¶
type ApplicationZipper ¶
type ApplicationZipper struct{}
func (ApplicationZipper) GetZipSize ¶
func (zipper ApplicationZipper) GetZipSize(zipFile *os.File) (int64, error)
func (ApplicationZipper) IsZipFile ¶
func (zipper ApplicationZipper) IsZipFile(file string) (result bool)
type CfIgnore ¶
func NewCfIgnore ¶
Click to show internal directories.
Click to hide internal directories.