Skip to main content

find_daemon

Function find_daemon 

Source
pub fn find_daemon() -> Result<PathBuf, String>
Expand description

Finds the choir-node binary.

Beside this executable first, PATH second. The sibling wins because the two binaries are built and installed as a pair: an older choir-node earlier on PATH would serve a different build than the choir that launched it, and every symptom afterwards would look like the running node being wrong rather than being old.

ยงErrors

Returns a description, naming both places it looked, when neither holds one.