From 0c9e2b1bad89f6a1d78e5756b573dd8f7b686f1a Mon Sep 17 00:00:00 2001 From: Simon Andersson Date: Tue, 29 May 2018 12:04:59 +0200 Subject: [PATCH] Correct command directory paths --- ARCHITECTURE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2