MakerLabs ACM
filesystem.cpp File Reference
#include "filesystem.h"
#include <stdio.h>
#include "esp_log.h"

Typedefs

using string_view = std::experimental::string_view
 

Functions

auto filesystem_exists (std::experimental::string_view path) -> bool
 
auto filesystem_read (string_view path) -> std::vector< uint8_t >
 
auto filesystem_write (string_view path, const std::vector< uint8_t > &contents) -> bool
 
auto filesystem_write (string_view path, string_view contents) -> bool
 

Variables

constexpr char TAG [] = "filesystem"
 

Typedef Documentation

◆ string_view

using string_view = std::experimental::string_view

Function Documentation

◆ filesystem_exists()

auto filesystem_exists ( std::experimental::string_view  path) -> bool

◆ filesystem_read()

auto filesystem_read ( string_view  path) -> std::vector<uint8_t>

◆ filesystem_write() [1/2]

auto filesystem_write ( string_view  path,
const std::vector< uint8_t > &  contents 
) -> bool
Here is the call graph for this function:

◆ filesystem_write() [2/2]

auto filesystem_write ( string_view  path,
string_view  contents 
) -> bool

Variable Documentation

◆ TAG

constexpr char TAG[] = "filesystem"