MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / OpenFileState

Method OpenFileState

system/lib/wasmfs/file_table.h:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 const std::vector<Directory::Entry> dirents;
71
72 OpenFileState(private_key,
73 oflags_t flags,
74 std::shared_ptr<File> file,
75 std::vector<Directory::Entry>&& dirents)
76 : file(file), flags(flags), dirents(std::move(dirents)) {}
77
78 [[nodiscard]] static int create(std::shared_ptr<File> file,
79 oflags_t flags,

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected