Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
file.hpp File Reference
#include "core/defines.hpp"
#include <filesystem>
#include <vector>
Include dependency graph for file.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  iv
 
namespace  iv::file
 

Functions

bool iv::file::canWrite (const std::filesystem::path &path)
 
std::string iv::file::changeExtension (const std::string_view filePath, const std::string &targetExtension)
 
void iv::file::copy (const std::string_view from, const std::string_view to, const bool overwrite)
 
void iv::file::copyFolder (const std::string_view from, const std::string_view to, const bool recursive, const bool overwrite)
 
bool iv::file::createDirectory (const std::string_view path)
 
bool iv::file::exists (const std::string_view path)
 
bool iv::file::isFile (const std::string_view path)
 
bool iv::file::isDirectory (const std::string_view path)
 
std::string iv::file::getExtensionFile (const std::string_view filePath, const bool includeDot)
 
std::string iv::file::getFileName (const std::string_view filePath, const bool includeExtension)
 
std::string iv::file::getFinalDirectoryName (const std::string_view path)
 
std::vector< std::string > iv::file::getFolderFiles (const std::string &foldersPath, const bool recursively, const bool absolutePath)
 
iv::types::timestamp iv::file::getLastModifiedTime (const std::string_view path)
 
std::string iv::file::getParentDirectoryPath (const std::string_view path)
 
std::string iv::file::makePath (const std::string_view dirOpt, const std::string_view fNameOpt, const std::string_view extOpt)
 
std::string iv::file::escapePathForShell (const std::string_view path)
 
bool iv::file::remove (const std::string_view path)
 
void iv::file::rename (const std::string_view oldPath, const std::string_view newPath)