MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / string_view>

Method string_view>

src/core/string_utils.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 template <> std::optional<std::string_view> parse<std::string_view>(std::string_view s)
89 {
90 trim(s);
91 trim(s, '"');
92 return s;
93 }
94
95 template <> std::optional<std::string> parse<std::string>(std::string_view s)
96 {

Callers

nothing calls this directly

Calls 1

trimFunction · 0.85

Tested by

no test coverage detected