MCPcopy Index your code
hub / github.com/faker-js/faker / filePath

Method filePath

src/modules/system/index.ts:214–216  ·  view source on GitHub ↗

* Returns a file path. * * @example * faker.system.filePath() // '/usr/local/src/money.dotx' * * @since 3.1.0

()

Source from the content-addressed store, hash-verified

212 * @since 3.1.0
213 */
214 filePath(): string {
215 return `${this.directoryPath()}/${this.fileName()}`;
216 }
217
218 /**
219 * Returns a [semantic version](https://semver.org).

Callers 1

system.spec.tsFile · 0.80

Calls 2

directoryPathMethod · 0.95
fileNameMethod · 0.95

Tested by

no test coverage detected