Implement BlockMap

This commit is contained in:
Audrius Butkevicius authored and Jakob Borg committed 2014-10-16 12:26:27 +02:00
1 parent 8818c4785b
commit 435f9113e8
4 files changed
+441

No files matched your search

+4
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