OptionalpathThe path to read content from. Defaults to the root of the mock directory.
An absolute path can also be provided, as long as it is a child path of the mock directory.
OptionalshouldWhether or not to return files as text rather than buffers.
Defaults to checking the file extension against a list of known text extensions.
Options for MockDirectory.content.