Helpers.h
Go to the documentation of this file.
1 /****
2  * Helpers.h
3  * Helper functions to assist with standard filesystem creation
4  *
5  * Created on: 27 Jan 2019
6  *
7  * Copyright 2019 mikee47 <mike@sillyhouse.net>
8  *
9  * This file is part of the IFS Library
10  *
11  * This library is free software: you can redistribute it and/or modify it under the terms of the
12  * GNU General Public License as published by the Free Software Foundation, version 3 or later.
13  *
14  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along with this library.
19  * If not, see <https://www.gnu.org/licenses/>.
20  *
21  ****/
22 
23 #pragma once
24 
25 #include "FileSystem.h"
26 
27 namespace IFS
28 {
35 
43 
50 FileSystem* mountArchive(FileSystem& fs, const String& filename);
51 
52 } // namespace IFS
Installable File System base class.
Definition: Components/IFS/src/include/IFS/FileSystem.h:40
Installable File System base class.
Definition: IFileSystem.h:100
Represents a flash partition.
Definition: Partition.h:86
The String class.
Definition: WString.h:137
Definition: DirectoryTemplate.h:37
FileSystem * createFirmwareFilesystem(Storage::Partition partition)
Create a firmware filesystem.
FileSystem * mountArchive(FileSystem &fs, const String &filename)
Mount an FWFS archive.
FileSystem * createHybridFilesystem(Storage::Partition fwfsPartition, IFileSystem *flashFileSystem)
Create a hybrid filesystem.