Package peppy :: Package vfs :: Package itools :: Package uri :: Module uri
[frames] | no frames]

Module uri

Functions
 
get_reference(reference)
Returns a URI reference of the good type from the given string.
 
get_cwd()
Returns the current working directory as a URI object.
 
get_absolute_reference(reference, base=None)
Returns the absolute URI for the given reference.
 
get_absolute_reference2(reference, base=None)
Like "get_absolute_reference", but uses the "resolve2" algorithm (ignores trailing slashes).
Function Details

get_absolute_reference(reference, base=None)

 

Returns the absolute URI for the given reference. Uses "base" to resolve the reference, if "base" is not given default to the current working directory.