Classes | Functions
common Namespace Reference

Classes

class  DistributedWork
class  MultiProjectException
class  WorkerThread
 Multithreading The following classes help with distributing work over several instances, providing wrapping for starting, joining, collecting results, and catching Exceptions. More...

Functions

def conditional_abspath
def is_web_uri
def normabspath
def realpath_relation
def samefile
def select_element
def select_elements

Function Documentation

@param uri: The uri to check
@return: abspath(uri) if local path otherwise pass through uri

Definition at line 57 of file common.py.

def common.is_web_uri (   source_uri)

Definition at line 68 of file common.py.

def common.normabspath (   localname,
  path 
)
if localname is absolute, return it normalized. If relative, return normalized join of path and localname

Definition at line 78 of file common.py.

def common.realpath_relation (   abspath1,
  abspath2 
)
Computes the relationship abspath1 to abspath2
:returns: None, 'SAME_AS', 'PARENT_OF', 'CHILD_OF'

Definition at line 87 of file common.py.

def common.samefile (   f1,
  f2 
)

Definition at line 42 of file common.py.

def common.select_element (   elements,
  localname 
)
selects entry among elements where path or localname matches.
Prefers localname matches in case of ambiguity.

Definition at line 108 of file common.py.

def common.select_elements (   config,
  localnames 
)
selects config elements with given localnames, returns in the order given in config
If localnames has one element which is path of the config, return all elements

Definition at line 125 of file common.py.



win_rosinstall
Author(s): Daniel Stonier
autogenerated on Fri Jan 3 2014 12:16:33