20 #ifndef MPD_LOCATE_URI_HXX
21 #define MPD_LOCATE_URI_HXX
40 #ifdef ENABLE_DATABASE
71 :
type(_type), canonical_uri(_uri), path(std::move(_path)) {}
88 #ifdef ENABLE_DATABASE
A path name in the native file system character set.
static gcc_const AllocatedPath Null() noexcept
Return a "nulled" instance.
enum LocatedUri::Type type
LocatedUri LocateUri(const char *uri, const Client *client)
Classify a URI.
An absolute URI with a supported scheme.
AllocatedPath path
Contains the local file path if type==FILE.
const char * canonical_uri
LocatedUri(Type _type, const char *_uri, AllocatedPath &&_path=AllocatedPath::Null())
const Storage const char * uri