mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
922 B
63 lines
922 B
8 years ago
|
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
|
||
|
}
|