Renamed project to wfs and memfs to FileStore.
This commit is contained in:
+11
-4
@@ -1,12 +1,19 @@
|
||||
#include <memphis/memfs.hpp>
|
||||
/*
|
||||
* Copyright 2015 gtalent2@gmail.com
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
#include <filestore.hpp>
|
||||
|
||||
using namespace memphis;
|
||||
using namespace wombat::fs;
|
||||
|
||||
int main() {
|
||||
const auto size = 1024;
|
||||
const auto size = 1 << 16;
|
||||
uint8_t volume[size];
|
||||
uint32_t err;
|
||||
initFs(volume, size, false);
|
||||
MemFs memfs(volume, volume + size, &err);
|
||||
FileStore(volume, volume + size, &err);
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user