Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
48
export
function
backup (src) {
49
cp(src, src +
'.bak'
)
50
}
51
52
// Restores a backup of the given file
53
export
function
restore (src) {
Callers
1
describePatch
Function · 0.90
Calls
1
cp
Function · 0.70
Tested by
no test coverage detected