aboutsummaryrefslogtreecommitdiffstats
path: root/formats/config/common_test.go
Commit message (Collapse)AuthorAgeFilesLines
* new plumbing package (#118)Máximo Cuadros2016-11-081-86/+0
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* storage/filesystem: implement missing functionality. (#110)Santiago M. Mola2016-11-031-6/+6
| | | | | | | * 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. Mola2016-10-261-0/+86
* 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.