Source library. More...
Functions | |
def | s_slib_search_single |
Search the source library for a particular file name substring. More... | |
Variables | |
list | slib = [] |
Search path. More... | |
Source library.
slib stands for source (project/schematic/hdl/model source) library
def xorn.geda.netlist.slib.s_slib_search_single | ( | basename | ) |
Search the source library for a particular file name substring.
Search the source library for a directory, starting with the last one, which contains a file whose filename contains the substring basename.
None
if basename was not found in the source libraryIf, for example, the directory path/to
is in the source library and contains the file myschematic.sch
, then a search for "schematic"
would return "path/to/schematic"
[sic].