mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
Implement BlockMap
This commit is contained in:
parent
1ef8378a30
commit
c618eba9a9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user