MCPcopy Index your code
hub / github.com/actions/setup-java / getFileName

Function getFileName

src/util.ts:137–139  ·  view source on GitHub ↗
(versionFile: string)

Source from the content-addressed store, hash-verified

135 let javaVersionRegExp: RegExp;
136
137 function getFileName(versionFile: string) {
138 return path.basename(versionFile);
139 }
140
141 const versionFileName = getFileName(versionFile);
142 if (versionFileName == '.tool-versions') {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected