String ArrayDirectory::path() { if (!m_it) { return empty_string; } auto entry = m_it.second(); assert(entry.isString()); return f_dirname(entry.toString()); }
bool TestExtFile::test_dirname() { VS(f_dirname("test/test_ext_file.txt"), "test"); return Count(true); }