Metadata-Version: 2.1
Name: stateman
Version: 1.0.7
Summary: Creating binary patch files containing changes in the directory
License: MIT
Author: pukhov-vi
Author-email: vipukhov@sberbank.ru
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

Creating binary patch files containing changes in the directory

## Simple usage :
```
root_dir = os.path.abspath(".tmp")
patch_file="new.patch"
# Get snapshot metadata of folder
state1 = GetState(root_dir)

# change files

# Get snapshot metadata of folder after changes
state2 = GetState(root_dir)

# Calculate diff
diff = GetDiff(state1, state2)

# Create patch file
CreatePatch(root_dir, patch_file, diff)  

# Apply patch file
ApplyPatch(root_dir, patch_file)
```

## Source Code:
* [https://github.com/vpuhoff/stateman](https://github.com/vpuhoff/stateman)

## Travis CI Deploys:
* [https://travis-ci.com/vpuhoff/patchgen](https://travis-ci.com/vpuhoff/stateman) [![Build Status](https://travis-ci.com/vpuhoff/patchgen.svg?branch=master)](https://travis-ci.com/vpuhoff/stateman)
