Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
legnaleurc committed Nov 22, 2023
1 parent b2497a1 commit 8e0ad30
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions sandbox/typescript/drive/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface FileService {
trash(file: FileMeta): Promise<void>;

fetchInitialCursor(): Promise<string>;
fetchRootFile(): Promise<FileMeta>;
fetchRoot(): Promise<FileMeta>;
fetchChangeList(cursor: string): AG<ChangeCursor>;
}

Expand All @@ -57,10 +57,9 @@ export interface WritableFile extends RandomAccessFile {
}

export interface SnapshotService {
getMetadata(key: string): Promise<string>;
setMetadata(key: string, value: string): Promise<void>;

getRootId(): Promise<string>;
getCurrentCursor(): Promise<string>;
getRoot(): Promise<FileMeta>;
setRoot(root: FileMeta): Promise<void>;

getFileById(fileId: string): Promise<FileMeta>;
getFileByAbsolutePath(absolutePath: string): Promise<FileMeta>;
Expand Down

0 comments on commit 8e0ad30

Please sign in to comment.