MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / #toHomeDir

Method #toHomeDir

lib/modCheckLib.js:1277–1279  ·  view source on GitHub ↗
(folder)

Source from the content-addressed store, hash-verified

1275 }
1276
1277 #toHomeDir(folder) {
1278 return (typeof folder === 'string') ? folder.replaceAll(this.#userHome, '~') : folder
1279 }
1280
1281 #populateFullName(collectKey, shortName) {
1282 const tagLine = this.#map_CollectionNotes.get(`${collectKey}.notes_tagline`, null)

Callers 1

addCollectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected