Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrExist = &err_type{err: "file already exists"}
)
Functions ¶
Types ¶
type BytesStore ¶
func NewBytesStore ¶
func NewBytesStore() (bs *BytesStore)
func (*BytesStore) Hash ¶
func (bs *BytesStore) Hash() (hash string, err error)
type FileBasic ¶
type FileBasic struct {
Path string `json:"path"`
FileType FileType `json:"type"`
Size int64 `json:"size"`
// directly read write to the file
*os.File
// contains filtered or unexported fields
}
func NewFileBasic ¶
Click to show internal directories.
Click to hide internal directories.