MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / backup

Function backup

test/utils/index.mjs:48–50  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

46
47// Backs up the given file
48export function backup (src) {
49 cp(src, src + '.bak')
50}
51
52// Restores a backup of the given file
53export function restore (src) {

Callers 1

describePatchFunction · 0.90

Calls 1

cpFunction · 0.70

Tested by

no test coverage detected