SIGN IN SIGN UP

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.

0 0 144 Rust

fix(core): reject entries with no parent_id instead of building relative paths

addressing.rs: when resolving SdPath::Physical, entries with parent_id=None
produced a relative path like "file.txt" which violates the SdPath::Physical
contract (must be absolute). Now returns an error instead. In practice this
case shouldn't occur (root entries are directories), but it's correct to
fail explicitly rather than silently produce invalid paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
S
slvnlrt committed
f6c5985211f09efdb2f7e28fc01049ae2e74c54f
Parent: 4dd8373