fs/Path: add method IsAbsolute()

This commit is contained in:
Max Kellermann
2013-10-14 22:38:29 +02:00
parent 47d655ea7f
commit 9508ea982b
12 changed files with 47 additions and 12 deletions

View File

@@ -153,7 +153,7 @@ decoder_file_decode(const struct decoder_plugin *plugin,
assert(decoder->stream_tag == NULL);
assert(decoder->decoder_tag == NULL);
assert(path != NULL);
assert(g_path_is_absolute(path));
assert(Path::IsAbsoluteFS(path));
assert(decoder->dc->state == DecoderState::START);
FormatDebug(decoder_thread_domain, "probing plugin %s", plugin->name);