MCPcopy Create free account

hub / github.com/GoogleChromeLabs/wasi-fs-access / functions

Functions87 in github.com/GoogleChromeLabs/wasi-fs-access

↓ 28 callersMethod_getBuffer
()
src/bindings.ts:354
↓ 26 callersMethodget
(buf: ArrayBuffer, ptr: ptr<T>)
src/type-desc.ts:24
↓ 25 callersMethodset
(buf: ArrayBuffer, ptr: ptr<T>, value: T)
src/type-desc.ts:25
↓ 10 callersFunctionstruct
( desc: T )
src/type-desc.ts:92
↓ 8 callersFunctionenumer
(base: TypeDesc<number>)
src/type-desc.ts:171
↓ 8 callersFunctionstd
(name: string, size: number)
src/type-desc.ts:43
↓ 7 callersMethodgetPreOpen
(fd: fd_t)
src/fileSystem.ts:327
↓ 7 callersMethodwrite
(data: Uint8Array)
src/bindings.ts:229
↓ 6 callersMethodasFile
()
src/fileSystem.ts:292
↓ 6 callersFunctionunimplemented
()
src/bindings.ts:265
↓ 5 callersFunctionalignTo
(ptr: number, align: number)
src/type-desc.ts:84
↓ 5 callersMethodclose
()
src/fileSystem.ts:300
↓ 5 callersMethodgetFile
()
src/fileSystem.ts:252
↓ 5 callersMethodgetFileOrDir
(path: string, mode: FileOrDir, openFlags: OpenFlags = 0)
src/fileSystem.ts:148
↓ 4 callersMethodflush
()
src/fileSystem.ts:286
↓ 4 callersFunctionstringOut
(writeStr: (chunk: string) => void)
src/bindings.ts:242
↓ 3 callersMethod_checkAbort
()
src/bindings.ts:338
↓ 3 callersMethoddelete
(path: string)
src/fileSystem.ts:228
↓ 3 callersMethodget
(fd: fd_t)
src/fileSystem.ts:352
↓ 3 callersMethodrun
(module: WebAssembly.Module)
src/bindings.ts:769
↓ 3 callersFunctionwriteIndented
(s: string)
src/browser.ts:85
↓ 2 callersMethod_add
(path: string, handle: Handle)
src/fileSystem.ts:335
↓ 2 callersMethod_forEachIoVec
( iovsPtr: ptr<iovec_t>, iovsLen: number, handledPtr: ptr<number>, cb: (buf: Uint8Array) => Pr
src/bindings.ts:787
↓ 2 callersMethod_getFileStat
(file: File | undefined, filestatPtr: ptr<filestat_t>)
src/bindings.ts:362
↓ 2 callersMethod_getWriter
()
src/fileSystem.ts:258
↓ 2 callersMethod_resolve
(path: string)
src/fileSystem.ts:110
↓ 2 callersMethod_take
(fd: fd_t)
src/fileSystem.ts:360
↓ 2 callersMethodfindRelPath
(path: string)
src/fileSystem.ts:376
↓ 2 callersMethodgetEntries
( start = 0 )
src/fileSystem.ts:43
↓ 2 callersFunctionlineOut
(writeLn: (chunk: string) => void)
src/bindings.ts:252
↓ 2 callersMethodopen
(preOpen: OpenDirectory, path: string, openFlags?: OpenFlags)
src/fileSystem.ts:345
↓ 2 callersMethodread
(len: number)
src/bindings.ts:225
↓ 2 callersMethodsizes_get
(buf: ArrayBuffer, countPtr: ptr<number>, sizePtr: ptr<number>)
src/bindings.ts:283
↓ 1 callersMethod_wait
(ms: number)
src/bindings.ts:344
↓ 1 callersMethodasDir
()
src/fileSystem.ts:296
↓ 1 callersFunctionbufferIn
(buffer: Uint8Array)
src/bindings.ts:232
↓ 1 callersMethodclose
(fd: fd_t)
src/fileSystem.ts:371
↓ 1 callersMethodgetWasiImports
()
src/bindings.ts:381
↓ 1 callersMethodrenumber
(from: fd_t, to: fd_t)
src/fileSystem.ts:366
↓ 1 callersMethodsetSize
(size: number)
src/fileSystem.ts:267
↓ 1 callersFunctiontaggedUnion
({ tag: tagDesc, data: dataDesc }: { tag: TypeDesc<E>; data: T; })
src/type-desc.ts:129
↓ 1 callersFunctiontranslateError
(err: any)
src/bindings.ts:809
↓ 1 callersFunctionwrite
(data: Uint8Array)
src/browser.ts:186
Method[Symbol.asyncIterator]
()
src/fileSystem.ts:104
MethodaddEvent
(event: Partial<event_t>)
src/bindings.ts:645
MethodasDir
()
src/fileSystem.ts:31
MethodasFile
()
src/fileSystem.ts:27
Methodclose
()
src/fileSystem.ts:236
Methodconstructor
(protected _buf: ArrayBuffer, protected _ptr: number)
src/type-desc.ts:96
Methodconstructor
(public statusCode: number)
src/bindings.ts:50
Methodconstructor
(public readonly code: E, public readonly ignore = false)
src/bindings.ts:198
Methodconstructor
(strings: string[])
src/bindings.ts:273
Methodconstructor
({ openFiles, stdin = { read: () => new Uint8Array() }, stdout = lineOut(console.log), stderr
src/bindings.ts:308
Methodconstructor
( public readonly path: string, private readonly _handle: FileSystemDirectoryHandle )
src/fileSystem.ts:20
Methodconstructor
( public readonly path: string, private readonly _handle: FileSystemFileHandle )
src/fileSystem.ts:242
Methodconstructor
(preOpen: Record<string, FileSystemDirectoryHandle>)
src/fileSystem.ts:320
Functionget
(buf, ptr)
src/type-desc.ts:50
Functionget
(this: FileSystemHandle)
src/browser.ts:46
Methodget
(buf: ArrayBuffer, offsetsPtr: ptr<Uint32Array>, ptr: ptr<string>)
src/bindings.ts:288
Functionmain
tests/c/notdir.c:5
Functionmain
tests/c/read_file.c:4
Functionmain
tests/c/clock_getres.c:4
Functionmain
tests/c/symlink_escape.c:5
Functionmain
tests/c/cant_dotdot.c:5
Functionmain
tests/c/follow_symlink.c:4
Functionmain
tests/c/gettimeofday.c:5
Functionmain
tests/c/link.c:8
Functionmain
tests/c/freopen.c:4
Functionmain
tests/c/symlink_loop.c:5
Functionmain
tests/c/preopen_populates.c:1
Functionmain
tests/c/fd_prestat_get_refresh.c:3
Functionmain
tests/c/getentropy.c:4
Functionmain
tests/c/poll.c:8
Functionmain
tests/c/read_file_twice.c:4
Functionmain
tests/c/write_file.c:7
Functionmain
tests/c/getrusage.c:4
Functionmain
tests/c/exitcode.c:1
Functionmain
tests/c/create_symlink.c:6
Functionmain
tests/c/main_args.c:4
Functionmain
tests/c/stdin.c:3
Functionmain
tests/c/stat.c:14
MethodopenWithCreate
(create: boolean)
src/fileSystem.ts:166
MethodprefixMatches
(prefix: string, path: string)
src/fileSystem.ts:378
Functionread
()
src/browser.ts:147
Methodread
(len: number)
src/fileSystem.ts:272
Functionset
(buf, ptr, value)
src/type-desc.ts:53
Methodwrite
(data: Uint8Array)
src/fileSystem.ts:280