diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-12-25 22:45:44 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-12-25 22:45:44 -0800 |
| commit | 253f190f48ca1f66d1aa16ed423f43f01f710178 (patch) | |
| tree | a62278f3c42510a52d4ed349c65e2567aa59f741 /weed/filer2/entry.go | |
| parent | a508d560216f1f44b37aaefcc0d446a357adad57 (diff) | |
| download | seaweedfs-253f190f48ca1f66d1aa16ed423f43f01f710178.tar.xz seaweedfs-253f190f48ca1f66d1aa16ed423f43f01f710178.zip | |
weed mount add symlink support
Diffstat (limited to 'weed/filer2/entry.go')
| -rw-r--r-- | weed/filer2/entry.go | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/weed/filer2/entry.go b/weed/filer2/entry.go index f5c883d44..f17a11727 100644 --- a/weed/filer2/entry.go +++ b/weed/filer2/entry.go @@ -8,17 +8,18 @@ import ( ) type Attr struct { - Mtime time.Time // time of last modification - Crtime time.Time // time of creation (OS X only) - Mode os.FileMode // file mode - Uid uint32 // owner uid - Gid uint32 // group gid - Mime string // mime type - Replication string // replication - Collection string // collection name - TtlSec int32 // ttl in seconds - UserName string - GroupNames []string + Mtime time.Time // time of last modification + Crtime time.Time // time of creation (OS X only) + Mode os.FileMode // file mode + Uid uint32 // owner uid + Gid uint32 // group gid + Mime string // mime type + Replication string // replication + Collection string // collection name + TtlSec int32 // ttl in seconds + UserName string + GroupNames []string + SymlinkTarget string } func (attr Attr) IsDirectory() bool { |
