Skip to content

Releases: robtimus/memory-fs

2.1

Choose a tag to compare

@robtimus robtimus released this 04 Mar 13:13

Added getContentIfExists methods to MemoryFileSystemProvider.

Added methods to MemoryFileSystemProvider to read and write the contents of memory paths as strings.

Added constants to MemoryFileAttributeView for the view name, attribute names and metadata.

MemoryFileSystemProvider.clear now resets the read-only and hidden attributes of the root directory to false.

Keys in maps returned by FileSystemProvider.readAttribute were incorrectly prefixed with the view name, e.g. basic:size instead of size. This is no longer the case. However, the old behaviour can be turned back on by setting system property com.github.robtimus.filesystems.memory.prefixAttributes to true.

2.0.2

Choose a tag to compare

@robtimus robtimus released this 30 Jul 14:49

Class MemoryMessages now works properly on Java 11 and up. Older versions would trigger an UnsupportedOperationException due to the use of a custom ResourceBundle.Control.

2.0.1

Choose a tag to compare

@robtimus robtimus released this 10 Oct 13:07

Added missing provides clause to the module descriptor.

2.0

2.0

Choose a tag to compare

@robtimus robtimus released this 10 Oct 12:37

Updated to require Java 8; Java 7 is no longer supported.
Added module descriptor. The new module name is com.github.robtimus.filesystems.memory.

memory-fs-1.3

Choose a tag to compare

@robtimus robtimus released this 19 Sep 19:39

Added support for symbolic and hard links.
Added a more efficient deleteIfExists implementation.

memory-fs-1.2

Choose a tag to compare

@robtimus robtimus released this 06 Apr 18:03

Added support for FileChannel. It does not support the map method though; all other methods are supported.
MemoryFileSystemProvider.newByteChannel now supports options READ and WRITE/APPEND combined, allowing for read/write channels.
MemoryFileSystemProvider.newInputStream no longer supports option TRUNCATE_EXISTING.

memory-fs-1.1

Choose a tag to compare

@robtimus robtimus released this 30 Aug 21:15

Added getContent, setContent and clear methods to class MemoryFileSystemProvider.

memory-fs-1.0.1

Choose a tag to compare

@robtimus robtimus released this 28 Dec 14:41

Fixed calculation of the total and usable spaces.

memory-fs-1.0

Choose a tag to compare

@robtimus robtimus released this 22 Dec 13:21

Initial release.