Struct dos2unix::Dos2Unix [] [src]

pub struct Dos2Unix;

Methods

impl Dos2Unix
[src]

fn convert(filename: &str, feedback: bool) -> bool

Convert a file to have Unix line endings.

  • filename - Filename to open and change line endings for.
  • feedback - Display feedback when file already has Unix line endings or is binary.