mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
18 lines
352 B
Java
18 lines
352 B
Java
package org.briarproject;
|
|
|
|
import org.briarproject.api.system.FileUtils;
|
|
|
|
import java.io.File;
|
|
import java.io.IOException;
|
|
|
|
public class TestFileUtils implements FileUtils {
|
|
|
|
public long getTotalSpace(File f) throws IOException {
|
|
return f.getTotalSpace();
|
|
}
|
|
|
|
public long getFreeSpace(File f) throws IOException {
|
|
return f.getUsableSpace();
|
|
}
|
|
}
|