MCPcopy Create free account
hub / github.com/dartsim/dart / createFromStringOrPath

Method createFromStringOrPath

dart/common/Uri.cpp:431–443  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

429
430//==============================================================================
431Uri Uri::createFromStringOrPath(const std::string& _input)
432{
433 Uri uri;
434 if (!uri.fromStringOrPath(_input)) {
435 dtwarn << "[Uri::createFromString] Failed parsing URI '" << _input
436 << "'.\n";
437 }
438
439 // We don't need to clear uri since fromString() does not set any component
440 // on failure.
441
442 return uri;
443}
444
445//==============================================================================
446Uri Uri::createFromRelativeUri(

Callers

nothing calls this directly

Calls 1

fromStringOrPathMethod · 0.80

Tested by

no test coverage detected