Skip to main content

Library to help make and commit modifications to a tree with Dulwich.

Project description

This library provides objects to make and commit modifications to tree using dulwich. It try’s to provide and interface similar to making changes to a os filesystem.

### Example:

writer = TreeWriter(repo)

writer.set_data(‘a/b’, ‘file b’.encode()) writer.do_commit(message=’Add a/b.’.encode())

writer.set_data(‘a/b’, b’file b ver 2’,) writer.do_commit(message=’Modify a/b.’.encode())

writer.remove(‘a/b’) writer.do_commit(message=’Remove a.’.encode())

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dulwich-tree, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size dulwich-tree-0.1.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page