Blender Git Commit Log
Git Commits -> Revision f823834
Revision f823834 by Sybren A. Stüvel (temp-asset-browser-catalogs-save-hook) September 27, 2021, 14:03 (GMT) |
BLI Path: add function `BLI_path_contains()` Add function `BLI_path_contains(container, containee)` that returns true if and only `container` contains `containee`. Paths are normalised and converted to native path separators before comparing. Relative paths are *not* made absolute, to simplify the function call; if this is necessary the caller has to do this conversion first. |
Commit Details:
Full Hash: f8238344287020e7274ebb6cdaccebcc7581dd4e
Parent Commit: 3d2ce25
Lines Changed: +56, -0