[Kernel] Added Support For: XFileRenameInformation

This commit is contained in:
Gliniak
2024-01-29 22:03:58 +01:00
parent 8b14b4bbc4
commit 74b52711a3
11 changed files with 134 additions and 64 deletions

View File

@@ -268,6 +268,10 @@ X_STATUS XFile::Write(uint32_t buffer_guest_address, uint32_t buffer_length,
}
X_STATUS XFile::SetLength(size_t length) { return file_->SetLength(length); }
X_STATUS XFile::Rename(const std::filesystem::path file_path) {
entry()->Rename(file_path);
return X_STATUS_SUCCESS;
}
void XFile::RegisterIOCompletionPort(uint32_t key,
object_ref<XIOCompletion> port) {