cppfs  1.2.0.5b71c2c98fb9
Cross-platform C++ file system library supporting multiple backends (Local-FS, SSH)
Namespaces | Functions
fs.h File Reference
#include <string>
#include <cppfs/cppfs_api.h>
Include dependency graph for fs.h:

Go to the source code of this file.

Namespaces

 cppfs
 
 cppfs::fs
 Global file system functions.
 

Functions

CPPFS_API FileHandle cppfs::fs::open (const std::string &path, const LoginCredentials *credentials=nullptr)
 Open a file or directory. More...
 
CPPFS_API std::string cppfs::fs::sha1 (const std::string &str)
 Compute sha1 hash for string. More...
 
CPPFS_API std::string cppfs::fs::base64 (const std::string &str)
 Get base64 encoding for string. More...
 
CPPFS_API std::string cppfs::fs::fromBase64 (const std::string &base64)
 Get decoded string from base64 encoding. More...
 
CPPFS_API std::string cppfs::fs::hashToString (const unsigned char *hash)
 Convert hash buffer into string. More...