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

Function restore

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

Source from the content-addressed store, hash-verified

51
52// Restores a backup of the given file
53export function restore (src) {
54 cp(src + '.bak', src)
55 rm(src + '.bak')
56}
57
58// Verifies that all HOSTS entries are present
59export function checkDnsSettings () {

Callers 1

describePatchFunction · 0.90

Calls 2

cpFunction · 0.70
rmFunction · 0.70

Tested by

no test coverage detected