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
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ func (f FileInfo) IsInvalid() bool {
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
type FileInfoTruncated struct {
Name string // max:8192