fn status(&mut self) {
    match fs::metadata(".graphin") {
        Ok(metadata) => {
            if !(metadata.is_dir()) {
                println!("Not a valid graphin repository");
            } else {
                // code to add file to tracker index
                // if changes in blob object, notify else    
                println!("Working directory clean", );
    }    
        },
        Err(_) => {println!("Not a valid graphin repository");}, 
    }
    // show status of directory here
    }
// the graphin status cmd
// status command as of now checks for existing metadata to evaluate
the graphin status cmd
status command as of now checks for existing metadata to evaluate
the graphin status cmd status command as of now checks for existing metadata to evaluate
fn status(&mut self) {
    match fs::metadata(".graphin") {
        Ok(metadata) => {
            if !(metadata.is_dir()) {
                println!("Not a valid graphin repository");
            } else {
                // code to add file to tracker index
                // if changes in blob object, notify else    
                println!("Working directory clean", );
    }    
        },
        Err(_) => {println!("Not a valid graphin repository");}, 
    }
    // show status of directory here
    }
fn status ( & mut self ) { match fs :: metadata ( " " ) { Ok ( metadata ) => { if ! ( metadata . is_dir ( ) ) { println ! ( " " ) ; } else { // code to add file to tracker index // if changes in blob object, notify else     println ! ( " " ) ; } } , Err ( _ ) => { println ! ( " " ) ; } , } // show status of directory here }
the graphin status cmd
status command as of now checks for existing metadata to evaluate
the graphin status cmd status command as of now checks for existing metadata to evaluate
&mut self
&mut self