Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StorageAddFile = func(storageId uint32, fileName string, versionPtr *uint32, bufPtr *byte, bufLen uint32, overWrite uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageCapacity = func(storageId uint32, capacityPtr *byte) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageCapacitySize = func(storageId uint32, sizePtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageCloseFile = func(storageId uint32, fd uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageDeleteFile = func(storageId uint32, fileName string, version uint32, all uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageGet = func(storageName string, idPtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageGetFile = func(storageId uint32, fileName string, version uint32, fdPtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageListVersions = func(storageId uint32, fileName string, versionPtr *byte) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageListVersionsSize = func(storageId uint32, fileName string, sizePtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageNew = func(storageName string, idPtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var StorageReadFile = func(storageId uint32, fd uint32, buf *byte, bufSize uint32, count *uint32) (error errno.Error) { return errno.ErrorNone }
Functions ¶
This section is empty.
Types ¶
type DefaultFile ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) DeleteAllVersions ¶
func (*File) DeleteFile ¶
func (*File) GetFile ¶
func (f *File) GetFile() (file *StorageFile, err error)
func (*File) ListVersions ¶
func (*File) Version ¶
func (f *File) Version(version uint32) *VersionedFile
type StorageFile ¶
type StorageFile struct {
// contains filtered or unexported fields
}
func (*StorageFile) Close ¶
func (file *StorageFile) Close() error
type VersionedFile ¶
type VersionedFile struct {
DefaultFile
}
Click to show internal directories.
Click to hide internal directories.