MCPcopy Create free account
hub / github.com/GooGee/Entity-Builder / getCodeFileName

Function getCodeFileName

src/Model/FileManager.ts:15–18  ·  view source on GitHub ↗
(file: LB.File, extention: string)

Source from the content-addressed store, hash-verified

13}
14
15export function getCodeFileName(file: LB.File, extention: string) {
16 const id = file.id.toString().padStart(4, "0")
17 return `file-${id + extention}`
18}
19
20export function getFileFullNameInCode(name: string) {
21 return Constant.Folder + "/code" + APP_VERSION_NUMBER + '/' + name

Callers 3

FileItemFunction · 0.90
FilePropertyFunction · 0.90
writeFileFunction · 0.90

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected