MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / string

Method string

source/core/StarDirectives.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37StringView Directives::Entry::string(Shared const& parent) const {
38 StringView result = parent.string;
39 result = result.utf8().substr(begin, length);
40 return result;
41}
42
43bool Directives::Shared::empty() const {
44 return entries.empty();

Callers 2

prefixMethod · 0.45
buildStringMethod · 0.45

Calls 1

substrMethod · 0.45

Tested by

no test coverage detected