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

Function createProjectFile

src/common/util.js:26–29  ·  view source on GitHub ↗
(name, content)

Source from the content-addressed store, hash-verified

24const createFile = (name, content, contributors) => ({ name, content, contributors });
25
26const createProjectFile = (name, content) => createFile(name, content, [{
27 login: 'algorithm-visualizer',
28 avatar_url: 'https://github.com/algorithm-visualizer.png',
29}]);
30
31const createUserFile = (name, content) => createFile(name, content, undefined);
32

Callers 1

readProjectFileFunction · 0.90

Calls 1

createFileFunction · 0.85

Tested by

no test coverage detected