You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cmd_git.rs
    path of file: ./repos/rdms/src/bin/rdms
    
    the code of the file until where you have to start completion: use std::ffi;

use rdms::{err_at, Error, Result};

use crate::SubCommand;

pub struct O
    
pub fn handle(opts: Opt) -> Result<()> {
    if let Some(sha1_file) = opts.sha1_file {
        return handle_sha1_file(sha1_file);
    } else if let Some(sha1_text) = opts.sha1_text {
        return handle_sha1_text(sha1_text);
    }

    Ok(())
}