Home
last modified time | relevance | path

Searched refs:SyncFile (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dasync_file.rs14 use std::fs::{File as SyncFile, Metadata, Permissions};
34 file: Arc<SyncFile>,
102 pub fn new(file: SyncFile) -> File { in new()
134 let file = async_op(|| SyncFile::open(path)).await?; in open()
156 let file = async_op(|| SyncFile::create(path)).await?; in create()
/ohos5.0/base/update/updater/utils/
H A Dutils.cpp362 void SyncFile(const std::string &dst) in SyncFile() function
395 SyncFile(dest); // no way to get fd from ofstream, so reopen to sync this file in CopyFile()