MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / getFiles

Function getFiles

src/Data/FileData.js:5–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import {getApplicant, setApplicant} from "./ApplicantData";
4
5export async function getFiles() {
6 const files = await apiJson(FILE_LIST);
7 return files.data ?? [];
8}
9
10export async function getFile(fileId) {
11 const files = await getFiles();

Callers 2

loaderFunction · 0.90
getFileFunction · 0.85

Calls 1

apiJsonFunction · 0.90

Tested by

no test coverage detected