MakerLabs ACM
filesystem.h
Go to the documentation of this file.
1 /*
2  * Copyright Paul Reimer, 2018
3  *
4  * This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Unported License.
5  * To view a copy of this license, visit
6  * https://creativecommons.org/licenses/by-nc-sa/4.0/
7  * or send a letter to
8  * Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
9  */
10 
11 #pragma once
12 
13 #include <experimental/string_view>
14 #include <vector>
15 
18 ) -> bool;
19 
20 auto filesystem_read(
22 ) -> std::vector<uint8_t>;
23 
24 auto filesystem_write(
26  const std::vector<uint8_t>& contents
27 ) -> bool;
28 
29 auto filesystem_write(
32 ) -> bool;
auto filesystem_read(std::experimental::string_view path) -> std::vector< uint8_t >
Definition: filesystem.cpp:28
auto filesystem_write(std::experimental::string_view path, const std::vector< uint8_t > &contents) -> bool
Definition: filesystem.cpp:76
auto filesystem_exists(std::experimental::string_view path) -> bool
Definition: filesystem.cpp:21
std::experimental::string_view string_view
Definition: actor_model.cpp:16
const path
Definition: oauth-server.js:26