Archived
Implement BlockMap
This commit is contained in:
1 parent
1ef8378a30
commit
c618eba9a9
1 file changed
+4
@@ -54,6 +54,10 @@ func (f FileInfo) IsInvalid() bool {
|
|||||||
return IsInvalid(f.Flags)
|
return IsInvalid(f.Flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (f FileInfo) IsDirectory() bool {
|
||||||
|
return IsDirectory(f.Flags)
|
||||||
|
}
|
||||||
|
|
||||||
// Used for unmarshalling a FileInfo structure but skipping the actual block list
|
// Used for unmarshalling a FileInfo structure but skipping the actual block list
|
||||||
type FileInfoTruncated struct {
|
type FileInfoTruncated struct {
|
||||||
Name string // max:8192
|
Name string // max:8192
|
||||||
|
|||||||
Reference in new issue
Block a user