Function file_info

Source
pub fn file_info(contents: impl Into<String>) -> FileInfo
Expand description

Helper function to create a FileInfo object containing the provided file contents and a default hash and file mode.