Documentation ¶
Index ¶
- type File
- func (f File) CreateDir(dirPath string) error
- func (f File) CreateFileByPath(filePath string) (*os.File, error)
- func (f File) CreateFileByUUID(uuid string) (*os.File, error)
- func (f File) GetAllFilesPaths() []string
- func (f File) GetFilePath(uuid string) string
- func (f File) GetFileUUID(filePath string) string
- func (f File) IsFileExistByPath(filePath string) bool
- func (f File) IsFileExistByUUID(uuid string) bool
- func (f File) OpenFileByPath(filePath string) (*os.File, error)
- func (f File) OpenFileByUUID(uuid string) (*os.File, error)
- func (f File) RemoveDirByPath(dirPath string) error
- func (f File) RemoveFileByPath(filePath string) error
- func (f File) RemoveFileByUUID(uuid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (File) GetAllFilesPaths ¶
func (File) GetFilePath ¶
func (File) GetFileUUID ¶
func (File) IsFileExistByPath ¶
func (File) IsFileExistByUUID ¶
func (File) RemoveDirByPath ¶
func (File) RemoveFileByPath ¶
func (File) RemoveFileByUUID ¶
Click to show internal directories.
Click to hide internal directories.