Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
UserCacheConfig Struct Reference

"userCache" block — the user-writable file store served at /api/user-cache. More...

#include <config.h>

Collaboration diagram for UserCacheConfig:
[legend]

Public Attributes

std::string directory
 

Detailed Description

"userCache" block — the user-writable file store served at /api/user-cache.

A plain place to keep files that should outlive a restart. The store itself neither validates nor interprets an upload — putting a file here does not, on its own, make Motion Master do anything with it. That is separate from whether a feature reads a given file: several own subtrees under this root and parse their own (parameters/, dumps/, more later), and those files show up in the listing alongside whatever a client puts there.

Member Data Documentation

◆ directory

std::string UserCacheConfig::directory

"" = Motion Master's standard per-user cache directory (mm::core::userCacheDir): LOCALAPPDATA%\motion-master on Windows, ~/Library/Caches/motion-master on macOS, $XDG_CACHE_HOME/motion-master (or ~/.cache/motion-master) on Linux. Set to override — note that everything under the chosen directory becomes readable, writable and deletable through the API, so point it somewhere that holds nothing else.


The documentation for this struct was generated from the following file: