larry-robotics / elkodon

Elkodon - true zero-copy inter-process-communication in rust
Apache License 2.0
17 stars 2 forks source link

Recursive directory creation #20

Closed elfenpiff closed 1 year ago

elfenpiff commented 1 year ago

In the elkodon.toml file an additional directory (/tmp/elkodon/ as root path instead /tmp) shall be created to prevent clashes with other applications. More high-level constructs are then required to create subdirectories like /tmp/elkodon/services when neither the dir elkodon or services exist (recursive subdirectory creation).

When elkodon_pp_posix::Directory::create() would create them recursively the issue would be fixed otherwise these higher constructs get the error that part of the path do not exist.