You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove Unix specific behaviour from File.cp/3 and File.cr_r/3
Previously those functions would behave as in their Unix counterpart
where copying behaved differently depending if the destination was
an existing directory or not. We have explicitly disallowed this
behaviour and added the proper notes to the docs.
Closes#2024.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@
8
8
9
9
* Bug fixes
10
10
*[Atom] Inspect `:...` and `:foo@bar` without quoting
11
-
*[File] Respect source directories terminating with "/" in `File.cp_r/3` with the same semantics as Unix
12
11
*[Keyword] The list `[1, 2, three: :four]` now correctly expands to `[1, 2, {:three, :four}]`
13
12
*[Kernel] Ensure undefined `@attributes` shows proper stacktrace in warnings
14
13
*[Kernel] Guarantee nullary funs/macros are allowed in guards
@@ -23,6 +22,7 @@
23
22
24
23
* Backwards incompatible changes
25
24
*[Dict] Implementations of `equal?/2` and `merge/2` in `HashDict` and `ListDict` are no longer polymorphic. To get polymorphism, use the functions in `Dict` instead
25
+
*[File]`File.cp/3` and `File.cp_r/3` no longer carry Unix semantics where the function behaves differently if the destination is an existing previous directory or not. It now always copies source to destination, doing it recursively in the latter
26
26
*[IEx] IEx now loads the `.iex.exs` file instead of `.iex`
27
27
*[Kernel] Remove `**` from the list of allowed operators
28
28
*[Kernel] Limit sigils delimiters to one of the following: `<>`, `{}`, `[]`, `()`, `||`, `//`, `"` and `'`
0 commit comments