MCPcopy Index your code
hub / github.com/filebrowser/filebrowser / get

Function get

frontend/src/api/share.ts:7–10  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

5}
6
7export async function get(url: string) {
8 url = removePrefix(url);
9 return fetchJSON<Share>(`/api/share${url}`);
10}
11
12export async function remove(hash: string) {
13 await fetchURL(`/api/share/${hash}`, {

Callers

nothing calls this directly

Calls 2

removePrefixFunction · 0.90
fetchJSONFunction · 0.90

Tested by

no test coverage detected