| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
* memory files now implement io.ReaderAt.
* tests now check ReadAt behaviour.
|
|
|
|
| |
Previously we tested only seek on created files,
not opened.
|
|
|
|
|
|
|
|
| |
* 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.
* 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.
|
|
|
|
| |
* Some 3rd party implementations had bugs on this that
went unnoticed.
|
|
|
|
|
|
| |
* Ensure that files can be created in a FS returned
by Dir().
* Files created in a dir fs should have Filename()
relative to dir's base.
|
| |
|
|
* 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.
|