sheepit 0.5.1

A simple rust tool for releasing projects 🚀
Documentation
1
2
3
4
5
6
7
8
use crate::error::SheepError;
use std::path::PathBuf;
use tempfile::Builder;

pub fn directory() -> Result<PathBuf, SheepError> {
    let temp = Builder::new().prefix("sheepit").tempdir()?;
    Ok(temp.keep())
}