Reader will now check BlockLog

This commit is contained in:
Caleb Gardner
2021-01-20 14:10:14 -06:00
parent 8dba30e24f
commit dd08d3516d
4 changed files with 14 additions and 22 deletions
+1 -7
View File
@@ -105,6 +105,7 @@ func (f *File) Sys() interface{} {
// }
//Close does nothing. It's simply here to satisfy fs.File
//TODO: add actual implementation
// func (f *File) Close() error {
// return nil
// }
@@ -293,13 +294,6 @@ func (f *File) Mode() os.FileMode {
return mode
}
//TODO: Implement with 1.16
//Type returns the type bits from fs.FileMode
// func (f *File) Type() fs.FileInfo {
// return Mod() ^&fs.ModePerm
// }
//ExtractTo extracts the file to the given path. This is the same as ExtractWithOptions(path, false, false, os.ModePerm, false).
//Will NOT try to keep symlinks valid, folders extracted will have the permissions set by the squashfs, but the folder to make path will have full permissions (777).
//