MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / get_path

Function get_path

Tactility/Source/PartitionsEsp.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33static error_t get_path(void* data, char* out_path, size_t out_path_size) {
34 auto* fs_data = static_cast<PartitionFsData*>(data);
35 if (strlen(fs_data->path) >= out_path_size) return ERROR_BUFFER_OVERFLOW;
36 strncpy(out_path, fs_data->path, out_path_size);
37 return ERROR_NONE;
38}
39
40FileSystemApi partition_fs_api = {
41 .mount = mount,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected