Documentation ¶
Index ¶
- func Close(file *os.File)
- func GetAllFile(path string) error
- func IsExist(path string) (os.FileInfo, error)
- func ParseZipInMemory(parent string, file string) (*zip.Reader, error)
- func ReadAll(path string) ([]byte, error)
- func ReadBlock(fd *os.File, offset int64, size int) ([]byte, int, bool, error)
- func ReadLine(fd *os.File) ([]byte, bool, error)
- func UnZip(srcFileFullPath string, dstParent string) (err error)
- func WriteAppendToTail(path string, data []byte) error
- func WriteCoverAll(path string, data []byte) error
- func WriteCoverFromHead(path string, data []byte) error
- func Zip(dstParent string, dstFile string, srcParent string, srcFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteAppendToTail ¶
WriteAppendToTail Appends writing to the end of the file.
func WriteCoverAll ¶
WriteCoverAll Delete all the contents of the file and write from the beginning again.
func WriteCoverFromHead ¶
WriteCoverFromHead From the beginning of the file, write over.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.