FastLED 3.10.6
Loading...
Searching...
No Matches

◆ path_has_parent_segment_at()

bool fl::asset_detail::path_has_parent_segment_at ( const char * p,
fl::size i )
constexpr

Recursive constexpr walk looking for any ".." segment.

Definition at line 60 of file asset.h.

60 {
61 return p[i] == '\0'
62 ? false
63 : (is_parent_at(p, i) ? true : path_has_parent_segment_at(p, i + 1));
64}
constexpr bool path_has_parent_segment_at(const char *p, fl::size i) FL_NO_EXCEPT
Recursive constexpr walk looking for any ".." segment.
Definition asset.h:60
constexpr bool is_parent_at(const char *p, fl::size i) FL_NO_EXCEPT
Compile-time check: does position i in p start a ".." segment?
Definition asset.h:52

References fl::FL_NO_EXCEPT, is_parent_at(), and path_has_parent_segment_at().

Referenced by path_has_parent_segment(), and path_has_parent_segment_at().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: