diff options
Diffstat (limited to 'src/modules/git')
| -rw-r--r-- | src/modules/git/index.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts index be8d02f1..da1dfab7 100644 --- a/src/modules/git/index.ts +++ b/src/modules/git/index.ts @@ -19,6 +19,8 @@ export class Git { * * @example * faker.git.branch() // 'feed-parse' + * + * @since 5.0.0 */ branch(): string { const noun = this.faker.hacker.noun().replace(' ', '-'); @@ -42,6 +44,8 @@ export class Git { * // Date: Sat Feb 05 2022 15:09:18 GMT+0100 (Mitteleuropäische Normalzeit) * // * // copy primary system + * + * @since 5.0.0 */ commitEntry( options: { @@ -80,6 +84,8 @@ export class Git { * * @example * faker.git.commitMessage() // 'reboot cross-platform driver' + * + * @since 5.0.0 */ commitMessage(): string { return `${this.faker.hacker.verb()} ${this.faker.hacker.adjective()} ${this.faker.hacker.noun()}`; @@ -90,6 +96,8 @@ export class Git { * * @example * faker.git.commitSha() // '2c6e3880fd94ddb7ef72d34e683cdc0c47bec6e6' + * + * @since 5.0.0 */ commitSha(): string { return this.faker.datatype.hexadecimal({ @@ -104,6 +112,8 @@ export class Git { * * @example * faker.git.shortSha() // '6155732' + * + * @since 5.0.0 */ shortSha(): string { return this.faker.datatype.hexadecimal({ |
