MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / #getLocalname

Method #getLocalname

src/fileSystem/sftp.js:565–570  ·  view source on GitHub ↗

* * @param {String} filename * @returns {String}

(filename)

Source from the content-addressed store, hash-verified

563 * @returns {String}
564 */
565 #getLocalname(filename) {
566 return Url.join(
567 CACHE_STORAGE,
568 "sftp" + Url.join(this.#base, filename).hashCode(),
569 );
570 }
571
572 async #setStat() {
573 if (!this.#stat) {

Callers 4

writeFileMethod · 0.95
readFileMethod · 0.95
#copyFileMethod · 0.95
localNameMethod · 0.95

Calls 1

hashCodeMethod · 0.80

Tested by

no test coverage detected