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

Function getLatestResourceProviderPath

src/slave/paths.cpp:556–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554
555
556string getLatestResourceProviderPath(
557 const string& metaDir,
558 const SlaveID& slaveId,
559 const string& resourceProviderType,
560 const string& resourceProviderName)
561{
562 return path::join(
563 getSlavePath(metaDir, slaveId),
564 RESOURCE_PROVIDERS_DIR,
565 resourceProviderType,
566 resourceProviderName,
567 LATEST_SYMLINK);
568}
569
570
571Try<list<string>> getOperationPaths(

Callers 2

recoverMethod · 0.85

Calls 2

getSlavePathFunction · 0.85
joinFunction · 0.50

Tested by

no test coverage detected