Sindbad~EG File Manager

Current Path : /usr/local/src/clamav-1.0.9/libclamav_rust/.cargo/vendor/tempfile/src/file/imp/
Upload File :
Current File : //usr/local/src/clamav-1.0.9/libclamav_rust/.cargo/vendor/tempfile/src/file/imp/other.rs

use std::fs::{File, OpenOptions};
use std::io;
use std::path::Path;

fn not_supported<T>() -> io::Result<T> {
    Err(io::Error::new(
        io::ErrorKind::Other,
        "operation not supported on this platform",
    ))
}

pub fn create_named(_path: &Path, open_options: &mut OpenOptions) -> io::Result<File> {
    not_supported()
}

pub fn create(_dir: &Path) -> io::Result<File> {
    not_supported()
}

pub fn reopen(_file: &File, _path: &Path) -> io::Result<File> {
    not_supported()
}

pub fn persist(_old_path: &Path, _new_path: &Path, _overwrite: bool) -> io::Result<()> {
    not_supported()
}

pub fn keep(path: &Path) -> io::Result<()> {
    not_supported()
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists