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

Function optionsSet

plugins/wasi_crypto/common/options.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26WasiCryptoExpect<void> optionsSet(Options &Options, std::string_view Name,
27 Span<const uint8_t> Value) noexcept {
28 return std::visit(
29 [Name, Value](auto &Option) noexcept { return Option.set(Name, Value); },
30 Options);
31}
32
33WasiCryptoExpect<void> optionsSetU64(Options &Options, std::string_view Name,
34 uint64_t Value) noexcept {

Callers 3

TEST_FFunction · 0.85
TEST_FFunction · 0.85
optionsSetMethod · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected