MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / ScanItem

Interface ScanItem

frontend/src/tools/folderUploader.ts:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { zip, type AsyncZippable } from "fflate";
2
3export interface ScanItem {
4 path: string;
5 file?: File;
6 isDir: boolean;
7}
8
9export async function scanDirectory(entry: FileSystemEntry, path = ""): Promise<ScanItem[]> {
10 const items: ScanItem[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected