kes-kopyala-yapıştır eklendi

This commit is contained in:
2025-11-02 23:06:17 +03:00
parent e68cba27ed
commit 34fcce2b2f
3 changed files with 424 additions and 20 deletions

View File

@@ -64,3 +64,15 @@ export async function renameFolder(path, newName) {
});
return res.json();
}
export async function copyEntry(sourcePath, targetDirectory) {
const res = await apiFetch("/api/file/copy", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
sourcePath,
targetDirectory
})
});
return res.json();
}