MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / getFolderHash

Method getFolderHash

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

Source from the content-addressed store, hash-verified

1285 }
1286
1287 getFolderHash(folder) {
1288 return this.#getMD5Hash(folder, 'col_')
1289 }
1290
1291 #getMD5Hash(text, prefix = '') {
1292 return `${prefix}${crypto.createHash('md5').update(text).digest('hex')}`

Callers 2

modAssist_main.jsFile · 0.80

Calls 1

#getMD5HashMethod · 0.95

Tested by

no test coverage detected