mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-27 14:15:09 +00:00
@@ -218,7 +218,7 @@ copy_directory_all :: proc(dst, src: string, dst_perm := Permissions_Default) ->
|
||||
|
||||
@(private)
|
||||
_copy_directory_all :: proc(dst, src: string, dst_perm := Permissions_Default) -> Error {
|
||||
err := make_directory(dst, dst_perm)
|
||||
err := make_directory_all(dst, dst_perm)
|
||||
if err != nil && err != .Exist {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ _read_directory_iterator_init :: proc(it: ^Read_Directory_Iterator, f: ^File) {
|
||||
}
|
||||
|
||||
err: Error
|
||||
it.impl.path, err = _cleanpath_from_buf(wpath, file_allocator())
|
||||
it.impl.path, err = get_absolute_path(impl.name, file_allocator())
|
||||
if err != nil {
|
||||
read_directory_iterator_set_error(it, impl.name, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user