MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlPathToURI

Function xmlPathToURI

ThirdParty/libxml2/vtklibxml2/uri.c:2817–2821  ·  view source on GitHub ↗

* xmlPathToURI: * @path: the resource locator in a filesystem notation * * Constructs an URI expressing the existing path * * Returns a new URI, or a duplicate of the path parameter if the * construction fails. The caller is responsible for freeing the memory * occupied by the returned string. If there is insufficient memory available, * or the argument is NULL, the function returns NULL.

Source from the content-addressed store, hash-verified

2815 * or the argument is NULL, the function returns NULL.
2816 */
2817xmlChar *
2818xmlPathToURI(const xmlChar *path)
2819{
2820 return(xmlCanonicPath(path));
2821}

Callers 2

xmlSAX2StartDocumentFunction · 0.85
xmlNodeSetBaseFunction · 0.85

Calls 1

xmlCanonicPathFunction · 0.85

Tested by

no test coverage detected