MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / index.js

File index.js

src/files/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createProjectFile, createUserFile } from 'common/util';
2
3const getName = filePath => filePath.split('/').pop();
4const getContent = filePath => require('!raw-loader!./' + filePath).default;

Callers

nothing calls this directly

Calls 2

readUserFileFunction · 0.85
readProjectFileFunction · 0.85

Tested by

no test coverage detected