cppfs  1.2.0.5b71c2c98fb9
Cross-platform C++ file system library supporting multiple backends (Local-FS, SSH)
posix/LocalFileSystem.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 
5 #include <memory>
6 
8 
9 
10 namespace cppfs
11 {
12 
13 
18 class CPPFS_API LocalFileSystem : public AbstractFileSystem, public std::enable_shared_from_this<LocalFileSystem>
19 {
20 public:
26 
31  virtual ~LocalFileSystem();
32 
33  // Virtual AbstractFileSystem functions
34  virtual FileHandle open(const std::string & path) override;
35  virtual FileHandle open(std::string && path) override;
36 };
37 
38 
39 } // namespace cppfs
Handle for a file or directory.
Definition: FileHandle.h:43
Representation of the local file system.
Definition: posix/LocalFileSystem.h:18
Definition: AbstractFileHandleBackend.h:14
CPPFS_API FileHandle open(const std::string &path, const LoginCredentials *credentials=nullptr)
Open a file or directory.
Interface for accessing file systems.
Definition: AbstractFileSystem.h:21