add back AdjustedUrl() related code

This commit is contained in:
Chris Lu
2021-01-28 14:36:29 -08:00
parent 9292796ec2
commit 990fa69bfe
10 changed files with 31 additions and 2 deletions

View File

@@ -123,6 +123,9 @@ func (fs *WebDavFileSystem) WithFilerClient(fn func(filer_pb.SeaweedFilerClient)
}, fs.option.FilerGrpcAddress, fs.option.GrpcDialOption)
}
func (fs *WebDavFileSystem) AdjustedUrl(location *filer_pb.Location) string {
return location.Url
}
func clearName(name string) (string, error) {
slashed := strings.HasSuffix(name, "/")