MCPcopy Create free account
hub / github.com/TritonDataCenter/node-manta / getJobPath

Function getJobPath

lib/client.js:343–348  ·  view source on GitHub ↗
(p, user)

Source from the content-addressed store, hash-verified

341
342
343function getJobPath(p, user) {
344 if (user && !/^\/.*\/jobs/.test(p))
345 p = '/' + user + '/jobs/' + p;
346
347 return (path.posix.normalize(p).replace(/\/$/, ''));
348}
349
350
351function onRequestCallback(opts) {

Callers 1

client.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected