class documentation

Stores objects on disk, indexed by SHA256.

Class Method create Create a new LFS store.
Class Method from_controldir Create LFS store from control directory.
Class Method from_repo Create LFS store from repository.
Method __init__ Initialize LFSStore.
Method open_object Open an object by sha.
Method write_object Write an object.
Instance Variable path Undocumented
Method _sha_path Undocumented
def create(cls, lfs_dir: str) -> LFSStore:

Create a new LFS store.

def from_controldir(cls, controldir: str, create: bool = False) -> LFSStore:

Create LFS store from control directory.

def from_repo(cls, repo: Repo, create: bool = False) -> LFSStore:

Create LFS store from repository.

def __init__(self, path: str):

Initialize LFSStore.

def open_object(self, sha: str) -> BinaryIO:

Open an object by sha.

def write_object(self, chunks: Iterable[bytes]) -> str:

Write an object.

Returns: object SHA

path =

Undocumented

def _sha_path(self, sha: str) -> str:

Undocumented