MCPcopy Create free account
hub / github.com/pydio/cells / virtualPathResolver

Method virtualPathResolver

idm/workspace/rest/handler.go:74–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (h *WorkspaceHandler) virtualPathResolver() permissions.VirtualPathResolver {
75 if h.runtimeVirtualPathResolver == nil {
76 h.runtimeVirtualPathResolver = func(ctx context.Context, node *tree.Node) (*tree.Node, bool) {
77 return abstract.GetVirtualProvider().ByUuid(ctx, node.Uuid)
78 }
79 }
80 return h.runtimeVirtualPathResolver
81}
82
83func (h *WorkspaceHandler) PutWorkspace(req *restful.Request, rsp *restful.Response) error {
84

Callers 2

PutWorkspaceMethod · 0.95
SearchWorkspacesMethod · 0.95

Calls 2

GetVirtualProviderFunction · 0.92
ByUuidMethod · 0.65

Tested by

no test coverage detected