Documentation
¶
Index ¶
- func Exec(timeout time.Duration, cmdStr string, args ...string) cmd.Status
- func MkDir(relativePath string) error
- func Read(srcPath string, dst io.Writer) (int64, error)
- func Remove(relativePath string) error
- func ResizeImage(filePath string, crop []int, sizes [][]int) ([]string, error)
- func Write(src io.Reader, collection, fileName string, size int64) (rpath string, written int64, err error)
- func ZipRead(zipFile, zipEntry string) ([]byte, error)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkDir ¶
func base.AbsPath(relativePath string) (string, error) {
return filepath.Abs(filepath.Join(base.Config.Fs.Root, relativePath))
}
Types ¶
Click to show internal directories.
Click to hide internal directories.