Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | storage/filesystem: implement missing functionality. (#110) | Santiago M. Mola | 2016-11-03 | 3 | -20/+67 |
| | | | | | | | * storage/filesystem: added ObjectStorage Set. * storage/filesystem: now passes all tests, except those specific to transactions. * formats/config: Encoder now encodes subsections with no options. * formats/config: add HasSubsection on Section. * dotgit: add Ref method to get specific reference. | ||||
* | formats/config: Added encoder/decoder for git config files. (#97) | Santiago M. Mola | 2016-10-26 | 12 | -0/+921 |
* WIP: Add config format parser. * add decoder based on gcfg. Portions of code taken from: https://github.com/go-gcfg/gcfg/blob/5b9f94ee80b2331c3982477bd84be8edd857df33/read.go * add git config encoder and config methods. * use format/config in storage/filesystem for read * use format/config in storage/filesystem to write * formats/config: improve docs. * formats/config: improve tests. * formats/config: use our fork of gcfg; improve api. * formats/config: improve api. * storage/filesystem: fix gofmt * formats/config: use NoSubsection constant. * formats/config: add doc.go * formats/config: requested sytle changes. * formats/config: do not use *_test packages. |