MCPcopy Create free account
hub / github.com/cstoquer/pixelbox / getFilePath

Function getFilePath

spritesheet/index.js:4–7  ·  view source on GitHub ↗
(path, id)

Source from the content-addressed store, hash-verified

2
3//▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
4function getFilePath(path, id) {
5 if (path) return path + '/' + id;
6 return id;
7}
8
9//▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
10function unpackSprite(root, path, data, spriteId, image, meta) {

Callers 3

unpackFolderFunction · 0.85
unpackGridFunction · 0.85
unpackSpritesheetV1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected