MCPcopy Create free account
hub / github.com/altic-dev/Pilot / FileEntry

Interface FileEntry

src/lib/docker.ts:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 * List directory contents in the container
224 */
225export interface FileEntry {
226 name: string;
227 type: 'file' | 'directory';
228 size: number;
229 path: string;
230}
231
232export async function listDirectory(sessionId: string, dirPath: string): Promise<FileEntry[]> {
233 const container = containerCache.get(sessionId);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected