gitws.workspacefinder module

Workspace Finder.

gitws.workspacefinder.find_workspace(path: Optional[Path] = None) Optional[Path][source]

Find Workspace Root Directory.

Keyword Arguments:

path (Path) – directory or file within the workspace. Current working directory by default.

The workspace root directory contains a sub directory .gitws. This one is searched upwards the given path.