class documentation

class FileSystemBackend(Backend):

Constructor: FileSystemBackend(root)

View In Hierarchy

Simple backend looking up Git repositories in the local file system.

Method __init__ Initialize a FileSystemBackend.
Method open_repository Open a repository from the filesystem.
Instance Variable root Undocumented
def __init__(self, root: str = os.sep):

Initialize a FileSystemBackend.

Parameters
root:strRoot directory to serve repositories from
def open_repository(self, path: str) -> BackendRepo:

Open a repository from the filesystem.

Returns: Repo instance

Parameters
path:strPath to the repository relative to the root
Returns
BackendRepoUndocumented
Raises
NotGitRepositoryIf path is outside the root or not a git repository
root =

Undocumented