MCPcopy Create free account
hub / github.com/apache/mesos / getResourceProviderPaths

Function getResourceProviderPaths

src/slave/paths.cpp:509–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507
508
509Try<list<string>> getResourceProviderPaths(
510 const string& metaDir,
511 const SlaveID& slaveId)
512{
513 return fs::list(path::join(
514 getSlavePath(metaDir, slaveId),
515 RESOURCE_PROVIDERS_DIR,
516 "*", // Resource provider type.
517 "*", // Resource provider name.
518 "*"));
519}
520
521
522string getResourceProviderPath(

Callers

nothing calls this directly

Calls 3

getSlavePathFunction · 0.85
listFunction · 0.50
joinFunction · 0.50

Tested by

no test coverage detected