Expand description
Shared workspace and resource identity (0042): the pure contracts every consumer — editor, remote transport, LSP, Git, picker — routes by.
This crate owns identity, never behavior: no I/O, no subprocess, no
filesystem probe. The transport (strop-remote), language services and
Git implement behavior against these types; nothing here depends on them.
addr: validated remote address forms — endpoint, canonical file, unresolved user location, and the strict percent-codec.Filesystem: the namespace a path names (local disk or one endpoint).ResourceLocation: one resolved path on one filesystem.
Re-exports§
pub use addr::AddressError;pub use addr::RemoteEndpoint;pub use addr::RemoteFile;pub use addr::RemoteLocation;
Modules§
- addr
- Validated remote address forms (0034 “Implementation boundaries” 2):
ssh://[user@]host[:port]/absolute/pathas a pure, byte-native URI domain, split by responsibility.
Structs§
- Container
Id - A canonical container identity: the 64-hex id
docker inspectreports. Names and prefixes resolve through inspect first; the checked constructor keeps a display label from ever becoming an identity. - Container
IdError - Why a container identity string was refused.
- Resource
Location - One resolved path on one filesystem namespace. Always resolved: an
unresolved user entry (a
~home query) is acrate::addr::RemoteLocation, never aResourceLocation.
Enums§
- Filesystem
- The filesystem a path names.