Renamed project to wfs and memfs to FileStore.

This commit is contained in:
2016-06-02 20:58:50 -05:00
parent b58ca52bce
commit 9a393df4fc
8 changed files with 91 additions and 69 deletions
+11 -4
View File
@@ -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;
}