X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ffilesystem%2Ffilename.cpp;h=81ca6f02f69d7abd04724e4877110f3e05ad4bdd;hb=26e2a15bc99ae049324df5b61beb9e9ae17300d0;hp=4ea4269aabaff86631452a3212a8e788f1b410cc;hpb=5efbb79c4a7e11ff2d7193b2cea13fdc79230580;p=feisty_meow.git diff --git a/nucleus/library/filesystem/filename.cpp b/nucleus/library/filesystem/filename.cpp index 4ea4269a..81ca6f02 100644 --- a/nucleus/library/filesystem/filename.cpp +++ b/nucleus/library/filesystem/filename.cpp @@ -383,11 +383,10 @@ bool filename::exists() const { if (is_directory()) return true; + // if the file name is empty, that cannot exist. if (!length()) return false; return is_readable(); -/// byte_filer opened(observe(), "rb"); -/// return opened.good(); } bool filename::legal_character(char to_check)