Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/actions/setup-java
/ createFile
Function
createFile
__tests__/cache.test.ts:499–502 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
497
}
498
499
function
createFile(path: string) {
500
core.info(`created a file at ${path}`);
501
fs.writeFileSync(path,
''
);
502
}
503
504
function
createDirectory(path: string) {
505
core.info(`created a directory at ${path}`);
Callers
1
cache.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected