MCPcopy
hub / github.com/farizdotid/DAFTAR-API-LOKAL-INDONESIA / resolve

Function resolve

src/utils/index.ts:5–7  ·  view source on GitHub ↗
(...fileName: string[])

Source from the content-addressed store, hash-verified

3import blacklist from '../data/blacklist.json'
4
5export const resolve = (...fileName: string[]) => {
6 return path.resolve(import.meta.dir, '..', '..', 'data', ...fileName)
7}
8
9export const getLanguage = (filePath: string) => {
10 return path.basename(filePath, path.extname(filePath))

Callers 2

build.tsFile · 0.90
getFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected