Documentation
¶
Index ¶
- Constants
- func AllocateFileSpace(f *os.File, offset, size int64) error
- func CreateDirAndTouch(dir string) error
- func Datasync(f *os.File) error
- func Exist(filePath string) bool
- func FileReadUint64(r io.Reader, buf []byte) (uint64, error)
- func FileSize(filePath string) (int64, error)
- func FileWriteUint64(w io.Writer, buf []byte, v uint64) error
- func IsDirWriteable(dir string) error
- func Sync(f *os.File) error
- func SyncDir(dir string) error
Constants ¶
View Source
const ( DirMode = 0755 FileMode = 0755 )
Variables ¶
This section is empty.
Functions ¶
func CreateDirAndTouch ¶
func IsDirWriteable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.