radicle-heartwood-lfs/crates/radicle-remote-helper/src
Lorenz Leutgeb 80c1bba76f
radicle: Prevent `RAD_SOCKET` from polluting tests
The value of `RAD_SOCKET` influences the outcome of `cargo test`.

Users that set this environment variable to, e.g. point `rad` at
a socket at a custom location, were surprised that execution of
tests would interact with their node.

Split `Home::socket` into two functions. `Home::socket_default` is
"pure" and only dependent on the path represented by `Home`. On the
other hand, `Home::socket_from_env` interprets the environment.

Most users will want to use `Home::socket_from_env`.
2026-04-09 17:53:49 +02:00
..
push rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
fetch.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
list.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
main.rs radicle: Refactor COB Storage Access 2026-03-31 17:57:14 +01:00
protocol.rs remote-helper/protocol: Introduce Line and Command 2026-02-18 00:07:35 +01:00
push.rs radicle/crefs: Refactor `GetCanonicalRefs` 2026-04-08 11:13:28 +01:00
service.rs radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00