MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / filetype

Method filetype

lib/host/wasi/inode-linux.cpp:1398–1403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1396}
1397
1398WasiExpect<__wasi_filetype_t> INode::filetype() const noexcept {
1399 if (!Stat) {
1400 EXPECTED_TRY(updateStat());
1401 }
1402 return unsafeFiletype();
1403}
1404
1405bool INode::isDirectory() const noexcept {
1406 if (!Stat) {

Callers

nothing calls this directly

Calls 1

EXPECTED_TRYFunction · 0.50

Tested by

no test coverage detected