whisk.git

Module Contents

Functions

is_repo(dir=os.getcwd())

Returns True if the dir is a git repo.

has_unstaged_changes(dir=os.getcwd())

Returns True if the git repo in the directory

Attributes

logger

whisk.git.logger[source]
whisk.git.is_repo(dir=os.getcwd())[source]

Returns True if the dir is a git repo.

dirstr

A path to a directory.

whisk.git.has_unstaged_changes(dir=os.getcwd())[source]

Returns True if the git repo in the directory has unstaged changes.