pub fn file_info(contents: impl Into<String>) -> FileInfo
Helper function to create a FileInfo object containing the provided file contents and a default hash and file mode.
FileInfo