dulwich.lfs module

class dulwich.lfs.LFSStore(path)

Bases: object

Stores objects on disk, indexed by SHA256.

classmethod create(lfs_dir)
classmethod from_repo(repo, create=False)
open_object(sha)

Open an object by sha.

write_object(chunks)

Write an object.

Returns: object SHA