Navigation
API > API/Developer > API/Developer/Horde > API/Developer/Horde/Storage > API/Developer/Horde/Storage/Clients
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- FStorageClient
- FKeyValueStorageClient
- FFileStorageClient
References
| Module | Horde |
| Header | /Engine/Source/Developer/Horde/Public/Storage/Clients/FileStorageClient.h |
| Include | #include "Storage/Clients/FileStorageClient.h" |
Syntax
class FFileStorageClient : public FKeyValueStorageClient
Remarks
Implementation of FStorageClient which writes data to files on disk.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FFileStorageClient
(
std::filesystem::path InRootDir |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| std::filesystem::path | GetBlobFile
(
const FBlobLocator& Locator |
||
| std::filesystem::path | GetRefFile
(
const FRefName& Name |
||
| FBlobLocator | ReadRefFromFile
(
const std::filesystem::path& File |
||
| void | WriteRefToFile
(
const std::filesystem::path& File, |
Overridden from FKeyValueStorageClient
| Type | Name | Description | |
|---|---|---|---|
| FBlob | ReadBlob
(
const FBlobLocator& Locator |
Read a single blob from the underlying store. | |
| FBlobHandle | WriteBlob
(
const FUtf8StringView& BasePath, |
Write a single blob to the underlying store. |
Overridden from FStorageClient
| Type | Name | Description | |
|---|---|---|---|
| void | AddAlias
(
const char* Name, |
Aliases Adds an alias to a given blob. | |
| bool | Refs Deletes a ref. | ||
| void | FindAliases
(
const char* Name, |
Finds blobs with the given alias. Unlike refs, aliases do not serve as GC roots. | |
| FBlobHandle | ReadRef
(
const FRefName& Name, |
Reads data for a ref from the store. | |
| void | RemoveAlias
(
const char* Name, |
Removes an alias from a blob. | |
| void | WriteRef
(
const FRefName& Name, |