Xorn
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Functions | Variables
xorn.geda.netlist.slib Namespace Reference

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...
 

Detailed Description

Source library.

slib stands for source (project/schematic/hdl/model source) library

Function Documentation

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.

Returns
the found directory plus basename, or None if basename was not found in the source library

If, 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].

Definition at line 44 of file slib.py.

Variable Documentation

list xorn.geda.netlist.slib.slib = []

Search path.

Definition at line 29 of file slib.py.