Documentation ¶
Index ¶
- type BlobEntry
- type DirectoryBlobEntry
- type FileBlobEntry
- func (b *FileBlobEntry) Fs() fs.Info
- func (b *FileBlobEntry) Hash(ctx context.Context, ty hash.Type) (string, error)
- func (b *FileBlobEntry) Open(ctx context.Context, options ...fs.OpenOption) (io.ReadCloser, error)
- func (b *FileBlobEntry) Remove(ctx context.Context) error
- func (b *FileBlobEntry) SetModTime(ctx context.Context, t time.Time) error
- func (b *FileBlobEntry) Storable() bool
- func (b *FileBlobEntry) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) error
- type VDirEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobEntry ¶
type DirectoryBlobEntry ¶
type DirectoryBlobEntry struct {
BlobEntry
}
func NewDirectory ¶
func (*DirectoryBlobEntry) ID ¶
func (b *DirectoryBlobEntry) ID() string
func (*DirectoryBlobEntry) Items ¶
func (b *DirectoryBlobEntry) Items() int64
type FileBlobEntry ¶
type FileBlobEntry struct {
BlobEntry
}
func (*FileBlobEntry) Fs ¶
func (b *FileBlobEntry) Fs() fs.Info
func (*FileBlobEntry) Open ¶
func (b *FileBlobEntry) Open(ctx context.Context, options ...fs.OpenOption) (io.ReadCloser, error)
func (*FileBlobEntry) SetModTime ¶
func (*FileBlobEntry) Storable ¶
func (b *FileBlobEntry) Storable() bool
func (*FileBlobEntry) Update ¶
func (b *FileBlobEntry) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) error
Click to show internal directories.
Click to hide internal directories.