Skip to main content

forget_stat

Function forget_stat 

Source
pub fn forget_stat(
    index_path: &Path,
    hash: Kind,
    paths: &[Vec<u8>],
) -> Result<Outcome>
Expand description

Makes git re-read paths by forgetting the size it cached for them.

paths are repository-relative and spelled with forward slashes, the way the index stores them.

ยงErrors

Error::Io when the index exists but cannot be read or replaced.