shimkit 0.3.1

Opinionated library for building containerd shims
Documentation
1
2
3
4
5
6
7
use std::fs::{File, OpenOptions};
use std::io::Result;
use std::path::Path;

pub fn open(path: impl AsRef<Path>) -> Result<File> {
    OpenOptions::new().read(true).write(true).open(path)
}