1 | /**
|
2 | * `GitRepository` represents a git repository hosting
|
3 | * the source code of a package.
|
4 | *
|
5 | * @see {@link Repository}
|
6 | */
|
7 | export interface GitRepository {
|
8 | /** Repository type, always `git` */
|
9 | readonly type: 'git';
|
10 |
|
11 | /** Repository URL */
|
12 | readonly url: string;
|
13 |
|
14 | /**
|
15 | * Specific directory in the repository
|
16 | * (for example, a directory in a monorepo)
|
17 | */
|
18 | readonly directory?: string;
|
19 | }
|