VSQLite++ 0.3
Loading...
Searching...
No Matches
filesystem_adapter.hpp File Reference

Pluggable abstraction for the filesystem operations used by sqlite::connection. More...

#include <filesystem>
#include <memory>
Include dependency graph for filesystem_adapter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sqlite::v2::filesystem_entry
 Result of probing a filesystem path that bundles status metadata and the failure code. More...
struct  sqlite::v2::filesystem_adapter
 Interface for querying and mutating filesystem paths before SQLite touches them. More...
class  sqlite::v2::default_filesystem_adapter
 Default adapter that simply forwards to std::filesystem. More...

Namespaces

namespace  sqlite
namespace  sqlite::v2

Typedefs

using sqlite::v2::filesystem_adapter_ptr = std::shared_ptr<filesystem_adapter>

Detailed Description

Pluggable abstraction for the filesystem operations used by sqlite::connection.

Consumers can override the default adapter to redirect file lookups/removals to virtual file systems or to inject additional validation when opening databases.

Definition in file filesystem_adapter.hpp.