Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EvoMap/evolver
/ withHome
Function
withHome
test/adapters.test.js:70–78 ·
view source on GitHub ↗
(home, fn)
Source
from the content-addressed store, hash-verified
68
}
69
70
function
withHome(home, fn) {
71
const
originalHome = os.homedir;
72
os.homedir = () => home;
73
try {
74
return
fn();
75
} finally {
76
os.homedir = originalHome;
77
}
78
}
79
80
// -- hookAdapter --
81
Callers
1
adapters.test.js
File · 0.85
Calls
1
fn
Function · 0.70
Tested by
no test coverage detected