Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
40
third-party/vendor/filetime/src/wasm.rs
vendored
Normal file
40
third-party/vendor/filetime/src/wasm.rs
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
use crate::FileTime;
|
||||
use std::fs::{self, File};
|
||||
use std::io;
|
||||
use std::path::Path;
|
||||
|
||||
pub fn set_file_times(_p: &Path, _atime: FileTime, _mtime: FileTime) -> io::Result<()> {
|
||||
Err(io::Error::new(io::ErrorKind::Other, "Wasm not implemented"))
|
||||
}
|
||||
|
||||
pub fn set_symlink_file_times(_p: &Path, _atime: FileTime, _mtime: FileTime) -> io::Result<()> {
|
||||
Err(io::Error::new(io::ErrorKind::Other, "Wasm not implemented"))
|
||||
}
|
||||
|
||||
pub fn set_file_mtime(_p: &Path, _mtime: FileTime) -> io::Result<()> {
|
||||
Err(io::Error::new(io::ErrorKind::Other, "Wasm not implemented"))
|
||||
}
|
||||
|
||||
pub fn set_file_atime(_p: &Path, _atime: FileTime) -> io::Result<()> {
|
||||
Err(io::Error::new(io::ErrorKind::Other, "Wasm not implemented"))
|
||||
}
|
||||
|
||||
pub fn from_last_modification_time(_meta: &fs::Metadata) -> FileTime {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn from_last_access_time(_meta: &fs::Metadata) -> FileTime {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn from_creation_time(_meta: &fs::Metadata) -> Option<FileTime> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn set_file_handle_times(
|
||||
_f: &File,
|
||||
_atime: Option<FileTime>,
|
||||
_mtime: Option<FileTime>,
|
||||
) -> io::Result<()> {
|
||||
Err(io::Error::new(io::ErrorKind::Other, "Wasm not implemented"))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue