MCPcopy Create free account
hub / github.com/bareos/bareos / StripPath

Function StripPath

core/src/filed/backup.cc:1834–1875  ·  view source on GitHub ↗

* If requested strip leading components of the path so that we can * save file as if it came from a subdirectory. This is most useful * for dealing with snapshots, by removing the snapshot directory, or * in handling vendor migrations where files have been restored with * a vendor product into a subdirectory. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

AccurateCheckFileFunction · 0.85
EncodeAndSendAttributesFunction · 0.85
VerifyFileFunction · 0.85

Calls 7

Dmsg1Function · 0.85
GetPoolMemoryFunction · 0.85
PmStrcpyFunction · 0.85
Dmsg2Function · 0.85
do_stripFunction · 0.85
UnstripPathFunction · 0.85
Dmsg3Function · 0.85

Tested by

no test coverage detected