...
This commit is contained in:
@@ -311,7 +311,10 @@ pub fn (mut c AtlasClient) copy_files(collection_name string, page_name string,
|
|||||||
if link.file_type != .file {
|
if link.file_type != .file {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
println(link)
|
if link.status == .external {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
// println(link)
|
||||||
// Get file path and copy
|
// Get file path and copy
|
||||||
file_path := c.get_file_path(link.target_collection_name, link.target_item_name)!
|
file_path := c.get_file_path(link.target_collection_name, link.target_item_name)!
|
||||||
mut src := pathlib.get_file(path: file_path)!
|
mut src := pathlib.get_file(path: file_path)!
|
||||||
|
|||||||
Reference in New Issue
Block a user