Blender Git Commit Log
Git Commits -> Revision aafbe11
Revision aafbe11 by Sybren A. Stüvel (master) September 27, 2021, 16:10 (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: aafbe111fc90876d801135f0dc5e01e9742f647a
Parent Commit: 6578db5
Lines Changed: +55, -0