RepoDB is a simple file based database of git repositories. Metadata for files and repositories are provided as flat json files within.
This module is used to facilitate a local file storage database with "automatic" version control support. The design focused on low-traffic applications with increased file auditing and retention. Performance may suffer for high traffic applications, although that has not been investigated.
go get github.com/readpe/repodbSee example_test.go for full example.
General steps:
- Create file record type(s) satisfying Record interface
- Create Database using NewDB
- Create Repository using CreateRepo
- Write/Read/Delete files in Repository
Distributed under the MIT license. For more information, as well as third party licenses and notices, see LICENSE.