Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorage ¶
LocalStorage manages the locally stored LFS objects for a repository.
func New ¶
func New(storageDir, tempDir string) (*LocalStorage, error)
func (*LocalStorage) AllObjects ¶
func (s *LocalStorage) AllObjects() []Object
AllObjects returns a slice of the the objects stored in this LocalStorage object. This does not necessarily mean referenced by commits, just stored. Note: reports final SHA only, extensions are ignored.
func (*LocalStorage) BuildObjectPath ¶
func (s *LocalStorage) BuildObjectPath(oid string) (string, error)
func (*LocalStorage) ClearTempObjects ¶
func (s *LocalStorage) ClearTempObjects() error
func (*LocalStorage) ObjectPath ¶
func (s *LocalStorage) ObjectPath(oid string) string
func (*LocalStorage) ScanObjectsChan ¶
func (s *LocalStorage) ScanObjectsChan() <-chan Object
ScanObjectsChan returns a channel of all the objects stored in this LocalStorage object. This does not necessarily mean referenced by commits, just stored. You should not alter the store until this channel is closed. Note: reports final SHA only, extensions are ignored.
Click to show internal directories.
Click to hide internal directories.