pub fn new(path: &Path, text: String) -> CreateFile {
        CreateFile {
            undo: true,
            path: path,
            text: text,
        }
    }
/// Initialize a CreateFile command.
/// 
/// As opposed to the original code, text parameter should be specified.
Initialize a CreateFile command.
As opposed to the original code, text parameter should be specified.
Initialize a CreateFile command . As opposed to the original code text parameter should be specified .
pub fn new(path: &Path, text: String) -> CreateFile {
        CreateFile {
            undo: true,
            path: path,
            text: text,
        }
    }
pub fn new ( path : & Path , text : String ) -> CreateFile { CreateFile { undo : true , path : path , text : text , } }
Initialize a CreateFile command.
Initialize a CreateFile command .
path
&Path
text
String