Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/github/docs
/ index.js
File
index.js
tests/unit/data-directory/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ fileURLToPath } from
'url'
2
import
path from
'path'
3
import
dataDirectory from
'../../../lib/data-directory.js'
4
const
__dirname = path.dirname(fileURLToPath(
import
.meta.url))
Callers
nothing calls this directly
Calls
2
test
Function · 0.85
dataDirectory
Function · 0.85
Tested by
no test coverage detected