()
| 72 | } |
| 73 | |
| 74 | func (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 | |
| 83 | func (h *WorkspaceHandler) PutWorkspace(req *restful.Request, rsp *restful.Response) error { |
| 84 |
no test coverage detected