Explorar o código

Added TODO to File class

- added TODO for comparison operator extension
Patrick %!s(int64=4) %!d(string=hai) anos
pai
achega
37cc95c946
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      source/io/File.cpp

+ 3 - 1
source/io/File.cpp

@@ -25,7 +25,9 @@ ls_std::File::File(std::string _absoluteFilePath) : Class("File"),
 absoluteFilePath(ls_std::File::_normalizePath(std::move(_absoluteFilePath)))
 {}
 
-bool ls_std::File::operator==(File &_file) // TODO: also compare executable, readable, writable flag
+// TODO: also compare executable, readable, writable flag
+// TODO: normalize foreign file path for comparison
+bool ls_std::File::operator==(File &_file)
 {
   return this->absoluteFilePath == _file.getAbsoluteFilePath();
 }