From: Simon Andersson Date: Tue, 29 May 2018 10:04:59 +0000 (+0200) Subject: Correct command directory paths X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2^2~13^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0c9e2b1bad89f6a1d78e5756b573dd8f7b686f1a;p=cargo.git Correct command directory paths --- diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index d296507fa..a20cd86a7 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -8,9 +8,9 @@ interested in the inner workings of Cargo. ## Subcommands Cargo is organized as a set of `clap` subcommands. All subcommands live in -`src/bin/commands` directory. `src/bin/cargo.rs` is the entry point. +`src/bin/cargo/commands` directory. `src/bin/cargo/main.rs` is the entry point. -A typical subcommand, such as `src/bin/commands/build.rs`, parses command line +A typical subcommand, such as `src/bin/cargo/commands/build.rs`, parses command line options, reads the configuration files, discovers the Cargo project in the current directory and delegates the actual implementation to one of the functions in `src/cargo/ops/mod.rs`. This short file is a good