1package fuse 2 3import "time" 4 5type attr struct { 6 Ino uint64 7 Size uint64 8 Blocks uint64 9 Atime uint64 10 Mtime uint64 11 Ctime uint64 12 AtimeNsec uint32 13 MtimeNsec uint32 14 CtimeNsec uint32 15 Mode uint32 16 Nlink uint32 17 Uid uint32 18 Gid uint32 19 Rdev uint32 20 Blksize uint32 21 padding uint32 22} 23 24func (a *attr) Crtime() time.Time { 25 return time.Time{} 26} 27 28func (a *attr) SetCrtime(s uint64, ns uint32) { 29 // ignored on freebsd 30} 31 32func (a *attr) SetFlags(f uint32) { 33 // ignored on freebsd 34} 35 36type setattrIn struct { 37 setattrInCommon 38} 39 40func (in *setattrIn) BkupTime() time.Time { 41 return time.Time{} 42} 43 44func (in *setattrIn) Chgtime() time.Time { 45 return time.Time{} 46} 47 48func (in *setattrIn) Flags() uint32 { 49 return 0 50} 51 52func openFlags(flags uint32) OpenFlags { 53 return OpenFlags(flags) 54} 55 56type getxattrIn struct { 57 getxattrInCommon 58} 59 60type setxattrIn struct { 61 setxattrInCommon 62} 63