pub fn copy_file_from(&self, path: impl AsRef<Path>) -> Option<()> {
        let path = path.as_ref();
        let new_name = path.file_name()?.to_str()?;
        self.copy_file_from_as(path, new_name)
    }
/// Copy a file from the path outside environment into the environment current dir
/// Returns None if copying was not successful
Copy a file from the path outside environment into the environment current dir
Returns None if copying was not successful
Copy a file from the path outside environment into the environment current dir Returns None if copying was not successful
pub fn copy_file_from(&self, path: impl AsRef<Path>) -> Option<()> {
        let path = path.as_ref();
        let new_name = path.file_name()?.to_str()?;
        self.copy_file_from_as(path, new_name)
    }
pub fn copy_file_from ( & self , path : impl AsRef < Path > ) -> Option < ( ) > { let path = path . as_ref ( ) ; let new_name = path . file_name ( ) ? . to_str ( ) ? ; self . copy_file_from_as ( path , new_name ) }
Copy a file from the path outside environment into the environment current dir
Returns None if copying was not successful
Copy a file from the path outside environment into the environment current dir Returns None if copying was not successful
&self
path
impl AsRef<Path>