MCPcopy Create free account
hub / github.com/breck7/scroll / stringToPermalink

Method stringToPermalink

external/.scrollLibs.js:14208–14210  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

14206 return value === undefined || value === "" || (typeof value === "number" && isNaN(value)) || (value instanceof Date && isNaN(value))
14207 }
14208 static stringToPermalink(str) {
14209 return this._permalink(str, /[^a-z0-9- _\.]/gi)
14210 }
14211 static getAvailablePermalink(permalink, doesFileExistSyncFn) {
14212 const extension = this.getFileExtension(permalink)
14213 permalink = this.removeFileExtension(permalink)

Callers

nothing calls this directly

Calls 1

_permalinkMethod · 0.95

Tested by

no test coverage detected