MCPcopy Index your code
hub / github.com/coder/coder / file

Function file

site/src/api/queries/files.ts:9–14  ·  view source on GitHub ↗
(fileId: string)

Source from the content-addressed store, hash-verified

7};
8
9export const file = (fileId: string) => {
10 return {
11 queryKey: ["files", fileId],
12 queryFn: () => API.getFile(fileId),
13 };
14};

Callers 2

useFileTreeFunction · 0.90

Calls

no outgoing calls

Tested by 1