git-ar 1.1.12

Git all remotes. Git cli tool that targets both Github and Gitlab. Brings common development operations such as opening a pull request down to the shell. This is an alternative to both Github https://github.com/cli/cli and Gitlab https://gitlab.com/gitlab-org/cli cli tools.
Documentation
use crate::cache::{Cache, CacheState};
use crate::io::{HttpResponse, ResponseField};

use crate::Result;

pub struct NoCache;

impl<K> Cache<K> for NoCache {
    fn get(&self, _key: &K) -> Result<CacheState> {
        Ok(CacheState::None)
    }
    fn set(&self, _key: &K, _value: &HttpResponse) -> Result<()> {
        Ok(())
    }

    fn update(&self, _key: &K, _value: &HttpResponse, _field: &ResponseField) -> Result<()> {
        Ok(())
    }
}