MCPcopy Index your code
hub / github.com/prettier/prettier / createHash

Function createHash

src/cli/utilities.js:49–51  ·  view source on GitHub ↗

* @param {string} string * @returns {string}

(string)

Source from the content-addressed store, hash-verified

47 * @returns {string}
48 */
49function createHash(string) {
50 return MurmurHash3(string).result().toString(36);
51}
52
53/** @import {Stats} from "fs" */
54/**

Callers 1

getHashOfOptionsFunction · 0.90

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…