This commit is contained in:
2025-11-09 08:53:08 +04:00
parent 3179d362fc
commit 891f3bf66d

View File

@@ -311,7 +311,10 @@ pub fn (mut c AtlasClient) copy_files(collection_name string, page_name string,
if link.file_type != .file {
continue
}
println(link)
if link.status == .external {
continue
}
// println(link)
// Get file path and copy
file_path := c.get_file_path(link.target_collection_name, link.target_item_name)!
mut src := pathlib.get_file(path: file_path)!