The relative asset path as a string view (e.g. "data/track.mp3").
| 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; } |
no test coverage detected