Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/farizdotid/DAFTAR-API-LOKAL-INDONESIA
/ getLanguage
Function
getLanguage
src/utils/index.ts:9–11 ·
view source on GitHub ↗
(filePath: string)
Source
from the content-addressed store, hash-verified
7
}
8
9
export
const
getLanguage = (filePath: string) => {
10
return
path.basename(filePath, path.extname(filePath))
11
}
12
13
export
const
getFiles =
async
(
14
dirPath: string = resolve(),
Callers
1
build.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected