MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / getFilesFromBranch

Function getFilesFromBranch

updateLangs.mjs:59–62  ·  view source on GitHub ↗
(branchId)

Source from the content-addressed store, hash-verified

57}
58
59async function getFilesFromBranch(branchId) {
60 const res = await axios.get(`${baseUrl}/projects/${projectId}/files?branchId=${branchId}&recursion=true`, { headers });
61 return res.data.data;
62}
63
64async function buildFileTranslation(fileId, langId) {
65 const buildRes = await axios.post(`${baseUrl}/projects/${projectId}/translations/builds/files/${fileId}`, {

Callers 1

updateLangs.mjsFile · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected