gapi: Plumb through a URI mechanism
This is at least a stop-gap until we redo the whole filesystem API mess. I think golang is partly to blame because they don't have proper API's merged yet.
This commit is contained in:
@@ -63,6 +63,10 @@ type World interface { // TODO: is there a better name for this interface?
|
||||
|
||||
Scheduler(namespace string, opts ...scheduler.Option) (*scheduler.Result, error)
|
||||
|
||||
// URI returns the current FS URI.
|
||||
// TODO: Can we improve this API or deprecate it entirely?
|
||||
URI() string
|
||||
|
||||
// Fs takes a URI and returns the filesystem that corresponds to that.
|
||||
// This is a way to turn a unique string handle into an appropriate
|
||||
// filesystem object that we can interact with.
|
||||
|
||||
Reference in New Issue
Block a user