EdgeAIG's picture
download
raw
718 Bytes
import type { FileSystemEntry } from "@opencode-ai/sdk/v2/types";
import type { Effect } from "effect";
export interface FileSystem {
read(input: {
readonly path: string;
}): Effect.Effect<{
readonly content: Uint8Array;
readonly mime: string;
}>;
list(input?: {
readonly path?: string;
}): Effect.Effect<FileSystemEntry[]>;
find(input: {
readonly query: string;
readonly type?: "file" | "directory";
readonly limit?: number;
}): Effect.Effect<FileSystemEntry[]>;
glob(input: {
readonly pattern: string;
readonly path?: string;
readonly limit?: number;
}): Effect.Effect<readonly FileSystemEntry[]>;
}

Xet Storage Details

Size:
718 Bytes
·
Xet hash:
7903fb121656c5ed9c5bcc89156b2d013918d62d507c0aba45f5becef3fbe9e8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.