nx_storage_sdk
1.0
Storage SDK
samples
test_storage_plugin
src
vfs.h
1
// Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3
#pragma once
4
5
#include <string>
6
#include <functional>
7
#include <stdint.h>
8
9
#include <common.h>
10
#include "detail/fs_stub.h"
11
12
namespace
utils
{
13
14
std::string fsJoin(
const
std::string& subPath1,
const
std::string& subPath2);
15
16
struct
VfsPair
17
{
18
std::string sampleFilePath;
19
int64_t sampleFileSize;
20
FsStubNode
* root;
21
22
VfsPair
() : root(
nullptr
) {}
23
};
24
51
NX_PLUGIN_API
bool
buildVfsFromJson(
const
char
* jsonString,
const
char
* rootPath,
VfsPair
* outVfsPair);
52
}
FsStubNode
Definition:
fs_stub.h:16
utils
Definition:
url.cpp:6
utils::VfsPair
Definition:
vfs.h:16
Generated by
1.8.14