cppfs  1.2.0.5b71c2c98fb9
Cross-platform C++ file system library supporting multiple backends (Local-FS, SSH)
system.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 
5 #include <string>
6 
7 #include <cppfs/cppfs_api.h>
8 
9 
10 namespace cppfs
11 {
12 
13 
18 namespace system
19 {
20 
21 
33 CPPFS_API const std::string & homeDir();
34 
49 CPPFS_API std::string configDir(const std::string & application);
50 
51 
52 } // namespace system
53 
54 
55 } // namespace cppfs
CPPFS_API const std::string & homeDir()
Get home directory of the current user.
Definition: AbstractFileHandleBackend.h:14
CPPFS_API std::string configDir(const std::string &application)
Get config directory for the named application.