MCPcopy
hub / github.com/lovell/sharp / getPath

Function getPath

test/fixtures/index.js:13–13  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

11
12// Helpers
13const getPath = (filename) => path.join(__dirname, filename);
14
15// Generates a 64-bit-as-binary-string image fingerprint
16// Based on the dHash gradient method - see http://www.hackerfactor.com/blog/index.php?/archives/529-Kind-of-Like-That.html

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…