read-unmodified-c-module
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRead Unmodified C Module
查看未修改的C模块
Read the source of the C module(s) we are working on, as they were before we made any changes.
查看我们正在开发的C模块在修改前的源代码。
Arguments
参数
- : Module name to read (e.g.,
<module path>orsrc/numeric_range_tree), without extensionsrc/aggregate/aggregate_debug - : Multiple module names to read
<module path 1> <module path 2>
If the path doesn't include , assume it to be in the directory. E.g. becomes .
src/srcnumeric_range_treesrc/numeric_range_tree- :要查看的模块名称(例如:
<module path>或src/numeric_range_tree),无需带扩展名src/aggregate/aggregate_debug - :多个要查看的模块名称
<module path 1> <module path 2>
如果路径中不包含,则默认该模块位于目录下。例如,会被解析为。
src/srcnumeric_range_treesrc/numeric_range_treeInstructions
操作步骤
For each module path:
bash
undefined对于每个模块路径:
bash
undefinedRead header file
读取头文件
git show master:<module path>.h
git show master:<module path>.h
Read implementation file
读取实现文件
git show master:<module path>.c
undefinedgit show master:<module path>.c
undefined