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 ¶
type SReadSeeker struct {
// contains filtered or unexported fields
}
func NewReadSeeker ¶
func NewReadSeeker(reader io.Reader, size int64) (*SReadSeeker, error)
func (*SReadSeeker) Close ¶
func (s *SReadSeeker) Close() error
type SparseFileWriter ¶
func NewSparseFileWriter ¶
func NewSparseFileWriter(f *os.File) *SparseFileWriter
func (*SparseFileWriter) Close ¶
func (w *SparseFileWriter) Close() (err error)
func (*SparseFileWriter) PreClose ¶
func (w *SparseFileWriter) PreClose() error
Click to show internal directories.
Click to hide internal directories.