v1.3.0: added backend functionality for multiple floors at one depth

This commit is contained in:
Evan Debenham
2022-04-26 16:19:10 -04:00
parent 23fd824789
commit 961e4c514f
3 changed files with 81 additions and 59 deletions

View File

@@ -136,7 +136,7 @@ public class FileUtils {
//replaces a file with junk data, for as many bytes as given
//This is helpful as some cloud sync systems do not persist deleted, empty, or zeroed files
public static void zeroFile( String name, int bytes ){
public static void overwriteFile( String name, int bytes ){
byte[] data = new byte[bytes];
Arrays.fill(data, (byte)1);
getFileHandle( name ).writeBytes(data, false);