mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-09-05 15:47:32 +00:00
Test filesystem api
* Invariant tests for the File interface * Invariant tests for reading / writing files ** Due to missing features currently ignoring CryptoFileSystem
This commit is contained in:
+3
@@ -46,6 +46,9 @@ class InMemoryNode implements Node {
|
||||
|
||||
@Override
|
||||
public Instant lastModified() {
|
||||
if (!exists()) {
|
||||
throw new UncheckedIOException(new IOException("File does not exist"));
|
||||
}
|
||||
return lastModified;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user