mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Show more debugging info: system memory, VM memory and disk space.
This commit is contained in:
@@ -7,7 +7,11 @@ import org.briarproject.api.system.FileUtils;
|
||||
|
||||
public class TestFileUtils implements FileUtils {
|
||||
|
||||
public long getTotalSpace(File f) throws IOException {
|
||||
return f.getTotalSpace(); // Requires Java 1.6
|
||||
}
|
||||
|
||||
public long getFreeSpace(File f) throws IOException {
|
||||
return f.getFreeSpace();
|
||||
return f.getUsableSpace(); // Requires Java 1.6
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user