MCPcopy Create free account
hub / github.com/FastLED/FastLED / path

Method path

src/fl/asset/asset.h:106–108  ·  view source on GitHub ↗

The relative asset path as a string view (e.g. "data/track.mp3").

Source from the content-addressed store, hash-verified

104
105 /// The relative asset path as a string view (e.g. "data/track.mp3").
106 fl::string_view path() const FL_NOEXCEPT {
107 return fl::string_view(mPath, mLength);
108 }
109
110 /// Pointer accessor — useful for JSON serialization.
111 constexpr const char* c_str() const FL_NOEXCEPT { return mPath; }

Callers 1

resolve_assetFunction · 0.45

Calls 1

string_viewClass · 0.50

Tested by

no test coverage detected