Documentation ¶
Index ¶
- func GetSizeGb(sizeStr string, defaultSize byte, base int) (int, error)
- func GetSizeKb(sizeStr string, defaultSize byte, base int) (int, error)
- func GetSizeMb(sizeStr string, defaultSize byte, base int) (int, error)
- func IsDir(filepath string) bool
- func IsFile(filepath string) bool
- type SReadSeeker
- type SparseFileWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SReadSeeker ¶ added in v1.10.0
type SReadSeeker struct {
// contains filtered or unexported fields
}
func NewReadSeeker ¶ added in v1.10.0
func NewReadSeeker(reader io.Reader, size int64) (*SReadSeeker, error)
func (*SReadSeeker) Close ¶ added in v1.10.0
func (s *SReadSeeker) Close() error
type SparseFileWriter ¶ added in v1.10.0
func NewSparseFileWriter ¶ added in v1.10.0
func NewSparseFileWriter(f *os.File) *SparseFileWriter
func (*SparseFileWriter) Close ¶ added in v1.10.0
func (w *SparseFileWriter) Close() (err error)
func (*SparseFileWriter) PreClose ¶ added in v1.10.0
func (w *SparseFileWriter) PreClose() error
Click to show internal directories.
Click to hide internal directories.