directory ========= :doc:`/types/File/index`::directory Returns the directory the file is into. Declaration ----------- .. code-block:: cpp static std::string directory(const std::string& filePath); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - filePath - const `std::string `_\& - The path to the file to get the directory of. Returns ------- The file's directory, without the filename.