pub fn from_string(string: &str) -> Self {
        Gitignore {
            ignored_paths: string.split("\n").map(|x| x.to_string()).collect()
        }
    }
/// Create a gitignore from a string
Create a gitignore from a string
Create a gitignore from a string
pub fn from_string(string: &str) -> Self {
        Gitignore {
            ignored_paths: string.split("\n").map(|x| x.to_string()).collect()
        }
    }
pub fn from_string ( string : & str ) -> Self { Gitignore { ignored_paths : string . split ( " \n " ) . map ( | x | x . to_string ( ) ) . collect ( ) } }
Create a gitignore from a string
Create a gitignore from a string
string
&str
string
&str