add: file_num offset

This commit is contained in:
Kingtous
2022-05-13 11:23:30 +08:00
parent 9dbd94daac
commit a2bc2a21bb
8 changed files with 25 additions and 12 deletions

View File

@@ -158,14 +158,17 @@ impl ConnectionManager {
ipc::FS::NewWrite {
path,
id,
file_num,
mut files,
} => {
let od = can_enable_overwrite_detection(get_version_number(VERSION));
// cm has no show_hidden context
// dummy remote, show_hidden, is_remote
write_jobs.push(fs::TransferJob::new_write(
id,
"".to_string(),
path,
file_num,
false,
false,
files