File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 4
4
The volt commands like ` volt get ` which may modify lock.json, config.toml,
5
5
filesystem, are executed in several steps:
6
6
7
- 1 . (UI layer): pass subcommand arguments, lock.json & config.toml structure
8
- to Gateway layer
9
- 2 . (Gateway layer): Create an AST according to given information
10
- * This layer cannot touch filesystem, because it makes unit testing difficult
11
- 3 . (Usecase layer): Execute the AST. This note mainly describes this layer's design
7
+ 1 . (UI layer): Passes subcommand arguments, lock.json & config.toml structure to Gateway layer
8
+ 2 . (Gateway layer): Invokes usecase(s). This layer cannot touch filesystem, do network requests, because it makes unit testing difficult
9
+ 3 . (Usecase layer): Modify files, do network requests, and other business logic
12
10
13
11
Below is the dependency graph:
14
12
You can’t perform that action at this time.
0 commit comments