projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16312-s3-signature-v4'
[arvados.git]
/
sdk
/
go
/
arvados
/
fs_site.go
diff --git
a/sdk/go/arvados/fs_site.go
b/sdk/go/arvados/fs_site.go
index 4264be4fa600be7abb05351f506feb00dccac6cc..7826d335c81fa93cfe54bf39a81a66335a65d336 100644
(file)
--- a/
sdk/go/arvados/fs_site.go
+++ b/
sdk/go/arvados/fs_site.go
@@
-16,6
+16,7
@@
type CustomFileSystem interface {
MountByID(mount string)
MountProject(mount, uuid string)
MountUsers(mount string)
MountByID(mount string)
MountProject(mount, uuid string)
MountUsers(mount string)
+ ForwardSlashNameSubstitution(string)
}
type customFileSystem struct {
}
type customFileSystem struct {
@@
-25,6
+26,8
@@
type customFileSystem struct {
staleThreshold time.Time
staleLock sync.Mutex
staleThreshold time.Time
staleLock sync.Mutex
+
+ forwardSlashNameSubstitution string
}
func (c *Client) CustomFileSystem(kc keepClient) CustomFileSystem {
}
func (c *Client) CustomFileSystem(kc keepClient) CustomFileSystem {
@@
-94,6
+97,10
@@
func (fs *customFileSystem) MountUsers(mount string) {
})
}
})
}
+func (fs *customFileSystem) ForwardSlashNameSubstitution(repl string) {
+ fs.forwardSlashNameSubstitution = repl
+}
+
// SiteFileSystem returns a FileSystem that maps collections and other
// Arvados objects onto a filesystem layout.
//
// SiteFileSystem returns a FileSystem that maps collections and other
// Arvados objects onto a filesystem layout.
//