MCPcopy
hub / github.com/faker-js/faker / commitMessage

Method commitMessage

src/modules/git/index.ts:121–123  ·  view source on GitHub ↗

* Generates a random commit message. * * @example * faker.git.commitMessage() // 'reboot cross-platform driver' * * @since 5.0.0

()

Source from the content-addressed store, hash-verified

119 * @since 5.0.0
120 */
121 commitMessage(): string {
122 return `${this.faker.hacker.verb()} ${this.faker.hacker.adjective()} ${this.faker.hacker.noun()}`;
123 }
124
125 /**
126 * Generates a date string for a git commit using the same format as `git log`.

Callers 2

commitEntryMethod · 0.95
git.spec.tsFile · 0.80

Calls 3

verbMethod · 0.45
adjectiveMethod · 0.45
nounMethod · 0.45

Tested by

no test coverage detected