mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-20 01:26:52 -04:00
connected filesystem stats
This commit is contained in:
@@ -187,13 +187,21 @@ public class Vault {
|
||||
}
|
||||
|
||||
public long pollBytesRead() {
|
||||
// TODO overheadhunter implement.
|
||||
return 0l;
|
||||
CryptoFileSystem fs = cryptoFileSystem.get();
|
||||
if (fs != null) {
|
||||
return fs.getStats().pollBytesRead();
|
||||
} else {
|
||||
return 0l;
|
||||
}
|
||||
}
|
||||
|
||||
public long pollBytesWritten() {
|
||||
// TODO overheadhunter implement.
|
||||
return 0l;
|
||||
CryptoFileSystem fs = cryptoFileSystem.get();
|
||||
if (fs != null) {
|
||||
return fs.getStats().pollBytesWritten();
|
||||
} else {
|
||||
return 0l;
|
||||
}
|
||||
}
|
||||
|
||||
public String getMountName() {
|
||||
|
||||
Reference in New Issue
Block a user