'git status' parser
Project description
Installation
$ [sudo] pip install git-status
Classes
class | __doc__ |
---|---|
git_status.Status |
git status parser |
Functions
function | __doc__ |
---|---|
git_status.get(path=None) |
return git status string |
Examples
>>> import git_status
>>> git_status.get(".")
M path/to/modified
A path/to/added
D path/to/deleted
R path/to/renamed
?? path/to/untracked
Status
class
>>> status = git_status.Status(".")
>>> status.A
['path/to/added']
>>> status.M
['path/to/modified']
>>> status.D
['path/to/deleted']
>>> status.R
['path/to/renamed']
>>> status.untracked
['path/to/untracked']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-status-2019.3.22.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for git_status-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daaddec6308a8c8a59b4f9b4d603c7779b643a01ca4e75870886694aea647ea6 |
|
MD5 | 2a2431c81ea6c3bef985e651884e77aa |
|
BLAKE2b-256 | 639e27ced96b5c7ab3438b82c2b50f41102471bf18a8572d9489e184b8005597 |