Implement BlockMap

This commit is contained in:
Audrius Butkevicius 2014-10-06 21:57:33 +01:00 committed by Jakob Borg
parent 1ef8378a30
commit c618eba9a9

View File

@ -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