neuroaikit.common.utils.find¶
- neuroaikit.common.utils.find(name, limit=2)[source]¶
Check if path (file or directory) exists somewhere in the directory tree, up to given distance limit, default 2.
- Parameters
name – path checked for existence
limit – number of directory levels to traverse while searching for the path
- Returns
valid existing string path if found, otherwise None