MCPcopy
hub / github.com/readest/readest / ClosableFile

Interface ClosableFile

apps/readest-app/src/utils/file.ts:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53export interface ClosableFile extends File {
54 open(): Promise<this>;
55 close(): Promise<void>;
56}
57
58export class NativeFile extends File implements ClosableFile {
59 #handle: FileHandle | null = null;

Callers 16

webUploadFunction · 0.65
openExternalUrlFunction · 0.65
readerStore.tsFile · 0.65
importBookFunction · 0.65
fetchBookDetailsFunction · 0.65
refreshBookMetadataFunction · 0.65
openFileFunction · 0.65
openDatabaseMethod · 0.65
createEpubMethod · 0.65
startMethod · 0.65
pumpMethod · 0.65

Implementers 6

NativeFileapps/readest-app/src/utils/file.ts
RemoteFileapps/readest-app/src/utils/file.ts
StatisticsDbapps/readest-app/src/services/statisti
NativeDatabaseServiceapps/readest-app/src/services/database
NodeDatabaseServiceapps/readest-app/src/services/database
WebDatabaseServiceapps/readest-app/src/services/database

Calls

no outgoing calls

Tested by

no test coverage detected