-
Enhancement
-
Resolution:
Done
-
Major
-
-
None
-
None
-
- Implement appending to files (up to now, the append parameter was ignored)
- Implement GridFile.getParent() and getParentFile()
- Implement GridFile.lastModified()
- Prevent writing to and reading from directories
- Fix bugs related to non-default chunk size
- Leak when overwriting existing file with shorter content length (excess file chunks are never removed from cache)
- Leak when calling GridFile.delete() (removes only file metadata, but not the actual file contents)
- GridFile.createNewFile() does not honor the contract of File.createNewFile()
- GridFile.list() does not honor contract of File.list() and also has a few bugs (it doesn't handle file separators correctly)
- GridFilesystem.getFile(File, String) creates File with illegal path (on windows, the created file begins with "C:\...")
- mkdir() fails on "/dir", but works on "dir"
- the root dir is not handled properly
- add javadoc to GridFilesystem
- GridFilesystem.remove() should not be public
- GridFile.setLength() should throw exception instead of printing to System.err