2aed3bf9ab
Roll back the bazil.org/fuse update to give us some time to explore alternatives for macOS. See upstream issue: https://github.com/bazil/fuse/issues/224
62 lines
922 B
Go
62 lines
922 B
Go
package fuse
|
|
|
|
import "time"
|
|
|
|
type attr struct {
|
|
Ino uint64
|
|
Size uint64
|
|
Blocks uint64
|
|
Atime uint64
|
|
Mtime uint64
|
|
Ctime uint64
|
|
AtimeNsec uint32
|
|
MtimeNsec uint32
|
|
CtimeNsec uint32
|
|
Mode uint32
|
|
Nlink uint32
|
|
Uid uint32
|
|
Gid uint32
|
|
Rdev uint32
|
|
Blksize uint32
|
|
padding uint32
|
|
}
|
|
|
|
func (a *attr) Crtime() time.Time {
|
|
return time.Time{}
|
|
}
|
|
|
|
func (a *attr) SetCrtime(s uint64, ns uint32) {
|
|
// ignored on freebsd
|
|
}
|
|
|
|
func (a *attr) SetFlags(f uint32) {
|
|
// ignored on freebsd
|
|
}
|
|
|
|
type setattrIn struct {
|
|
setattrInCommon
|
|
}
|
|
|
|
func (in *setattrIn) BkupTime() time.Time {
|
|
return time.Time{}
|
|
}
|
|
|
|
func (in *setattrIn) Chgtime() time.Time {
|
|
return time.Time{}
|
|
}
|
|
|
|
func (in *setattrIn) Flags() uint32 {
|
|
return 0
|
|
}
|
|
|
|
func openFlags(flags uint32) OpenFlags {
|
|
return OpenFlags(flags)
|
|
}
|
|
|
|
type getxattrIn struct {
|
|
getxattrInCommon
|
|
}
|
|
|
|
type setxattrIn struct {
|
|
setxattrInCommon
|
|
}
|