Skip to content

Commit dd8691d

Browse files
committed
fix links in CONTRIBUTING.md
1 parent 12df1fa commit dd8691d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
### Adding support for a new language
1313

14-
Adding support for a new Language consists in adding a new entry to the `define_language!` macro in [language.rs](src/repo/language.rs) and filling it in with the right data.
14+
Adding support for a new Language consists in adding a new entry to the `define_language!` macro in [language.rs](src/info/language.rs) and filling it in with the right data.
1515

1616
**Example**:
1717

@@ -59,15 +59,15 @@ Remarks:
5959

6060
To add a new package manager, make sure to follow these steps:
6161

62-
1. Add a new entry in the `define_package_managers!` macro in [package_manager.rs](src/repo/deps/package_manager.rs).
62+
1. Add a new entry in the `define_package_managers!` macro in [package_manager.rs](src/info/deps/package_manager.rs).
6363

6464
**Example**:
6565

6666
`{ Cargo, "cargo", [ ("Cargo.toml", cargo) ] },`
6767

6868
The first item `Cargo` corresponds to the name of the package manager. The second item `cargo` is the display name. Then we have the name of the package manager file that will be parsed: `Cargo.toml` along with its parser `cargo` (cf. step 2), notice that the third item is an array of tuple in case the package manager has multiple parsers (e.g. pip).
6969

70-
2. in `src/repo/deps/package_parser.rs`: create a function that takes an input of type `&str` representing the content of the package manager's file, and returns a `usize` as its number of dependencies.
70+
2. In [package_parser.rs](src/info/deps/package_parser.rs): create a function that takes an input of type `&str` representing the content of the package manager's file, and returns a `usize` as its number of dependencies.
7171

7272
```rust
7373
pub fn cargo(contents: &str) -> Result<usize> {

0 commit comments

Comments
 (0)