Documentation ¶
Index ¶
- func DumpFile(path, content string) error
- func GetAbsPath(path string) string
- type Helper
- func (h *Helper) Close() error
- func (h *Helper) CreateTime() (int64, error)
- func (h *Helper) Info() (os.FileInfo, error)
- func (h *Helper) IsExist(path string) bool
- func (h *Helper) IsFile(path string) bool
- func (h *Helper) Open(path string, createIfNotExists, appendMode bool) (*os.File, error)
- func (h *Helper) ReadEx(buff []byte, offset int64, unzipFile bool) (int, error)
- func (h *Helper) Remove() error
- func (h *Helper) Rename(newPath string) error
- func (h *Helper) Size() (int64, error)
- func (h *Helper) WriteEx(data []byte, offset int64, zipFile bool) (int, error)
- func (h *Helper) WriteStringEx(content string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.