MCPcopy
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
9export const getLanguage = (filePath: string) => {
10 return path.basename(filePath, path.extname(filePath))
11}
12
13export const getFiles = async (
14 dirPath: string = resolve(),

Callers 1

build.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected