Typings - vcspull.types

Typings for vcspull.

class vcspull.types.RawConfigDict[source]

Bases: TypedDict

Configuration dictionary without any type marshalling or variable resolution.

vcs: Literal['git', 'svn', 'hg']
name: str
path: Union[str, PathLike[str]]
url: str
remotes: dict[str, GitRemote]
class vcspull.types.ConfigDict[source]

Bases: TypedDict

Configuration map for vcspull after shorthands and variables resolved.

vcs: Optional[Literal['git', 'svn', 'hg']]
name: str
path: Path
url: str
remotes: NotRequired[Optional[dict[str, GitRemote]]]
shell_command_after: NotRequired[Optional[list[str]]]