Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.4.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsBucket ¶
type AwsBucket struct {
// contains filtered or unexported fields
}
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func NewFileSystem ¶
func NewFileSystem(systemPath string) *FileSystem
func (*FileSystem) Delete ¶
func (c *FileSystem) Delete(filepath string) error
func (*FileSystem) Get ¶ added in v0.4.0
func (c *FileSystem) Get(objectPath string) (ObjectInfo, error)
type ObjectInfo ¶ added in v0.4.0
func FileHeaderToStoreInfo ¶ added in v0.3.0
func FileHeaderToStoreInfo(file *multipart.FileHeader) (ObjectInfo, error)
func FileToStoreInfo ¶ added in v0.3.0
func FileToStoreInfo(file *os.File) (ObjectInfo, error)
type Storable ¶
type Storable interface { Filename() string GetStoreInfo() ObjectInfo }
Click to show internal directories.
Click to hide internal directories.