aboutsummaryrefslogtreecommitdiffstats
path: root/utils/fs/os/os.go
Commit message (Collapse)AuthorAgeFilesLines
* Extract billy (#173)Sergio Arbeo2016-12-191-183/+0
| | | | | | | | | | | | | | | * Extract billy Billy is a new library directly extracted from go-git. It abstract several storages systems in a filesystem interface. More in github.com/src-d/billy * Fix grouping in imports block * Update billy to v1 * Re-remove fs_implementation example
* utils/fs: add ReadAt to memory file and tests. (#122)Santiago M. Mola2016-11-111-1/+1
| | | | * memory files now implement io.ReaderAt. * tests now check ReadAt behaviour.
* utils/fs: Fix O_CREATE flag check in OpenFile (#116)Pierre Guilleminot2016-11-071-1/+1
| | | | | | * utils/fs: Fix O_CREATE flag check in OpenFile * utils/fs/os: test that Open does not create dirs.
* utils: fs, new memory filesystem (#108)Máximo Cuadros2016-11-041-3/+3
| | | | | | | | * utils: fs, new memory filesystem * utils: fs, renamed os.NewOS to os.New * utils: fs, memory changes requested by @alcortes
* utils/fs: add OpenFile method to filesystem interface. (#104)Santiago M. Mola2016-10-311-39/+29
| | | | | | | | | | | | * utils/fs: add OpenFile method to filesystem interface. * added OpenFile to fs.Filesystem interface. * added OpenFile implementation to 'os' filesystem. * bring back BaseFile. * utils/fs/os: do not use wildcard import. * utils/fs/os: implement Open and Create using OpenFile.
* utils/fs: add Remove(). (#94)Santiago M. Mola2016-10-241-0/+5
|
* utils/fs: move 'os' and 'test' to separate packages. (#93)Santiago M. Mola2016-10-241-0/+188
* create utils/fs/test package to expose generic test suite to 3rd party fs implementations. * move 'os' to its own package to avoid cyclic dependency (test -> fs -> test, becomes test -> fs, os -> test, os -> fs). * remove TestCreateAndWrite: some of our implementations cannot read a file that was just created, written and not closed yet.