diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-06-02 12:54:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-02 12:54:44 -0700 |
| commit | 0a5388744c6603921319ad54e905ebe381a3ba69 (patch) | |
| tree | 2e4db5cbd91f677192bea5f458ccf42c1eb1746c /weed/filesys/wfs.go | |
| parent | 62142ff1d2fd3646f4858c51b904fd6aaf3b3b30 (diff) | |
| parent | 77100754e60752915af008070e3a951e08a67890 (diff) | |
| download | seaweedfs-0a5388744c6603921319ad54e905ebe381a3ba69.tar.xz seaweedfs-0a5388744c6603921319ad54e905ebe381a3ba69.zip | |
Merge pull request #2105 from Woellchen/current_and_parent_dot_directories
Return artificial . and .. directories
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 8f864a123..178e4e497 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -3,9 +3,6 @@ package filesys import ( "context" "fmt" - "github.com/chrislusf/seaweedfs/weed/filer" - "github.com/chrislusf/seaweedfs/weed/storage/types" - "github.com/chrislusf/seaweedfs/weed/wdclient" "math" "math/rand" "os" @@ -14,6 +11,10 @@ import ( "sync" "time" + "github.com/chrislusf/seaweedfs/weed/filer" + "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/wdclient" + "google.golang.org/grpc" "github.com/chrislusf/seaweedfs/weed/util/grace" @@ -46,11 +47,12 @@ type Option struct { DataCenter string Umask os.FileMode - MountUid uint32 - MountGid uint32 - MountMode os.FileMode - MountCtime time.Time - MountMtime time.Time + MountUid uint32 + MountGid uint32 + MountMode os.FileMode + MountCtime time.Time + MountMtime time.Time + MountParentInode uint64 VolumeServerAccess string // how to access volume servers Cipher bool // whether encrypt data on volume server |
