Documentation ¶
Index ¶
- type DumbGarbageCollector
- type GarbageCollector
- type Object
- type Store
- func (s Store) Commit(w Writer) (*Object, error)
- func (s Store) Copy(o Object, w io.Writer) (int64, error)
- func (s Store) Create() (*Writer, error)
- func (s Store) Exists(o Object) bool
- func (s Store) GC(gc GarbageCollector) error
- func (s Store) Link(o Object, targetPath string) error
- func (s Store) Linked() (map[Object][]string, error)
- func (s Store) LinkedVisitor(progn func(Object, string, os.FileInfo) error) error
- func (s Store) List() ([]Object, error)
- func (s Store) Load(hash string) (*Object, error)
- func (s Store) Open(o Object) (io.ReadCloser, error)
- func (s Store) OpenPath(p string) (io.ReadCloser, error)
- func (s Store) Paths() (map[string]Object, error)
- func (s Store) Remove(o Object) error
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DumbGarbageCollector ¶
type DumbGarbageCollector struct{}
type GarbageCollector ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (Store) GC ¶
func (s Store) GC(gc GarbageCollector) error
func (Store) LinkedVisitor ¶
Click to show internal directories.
Click to hide internal directories.