Skip to content

Add a note to the docstrings differentiating cp function from cp command#41761

Merged
StefanKarpinski merged 1 commit intoJuliaLang:masterfrom
thazhemadam:at/cp-doc
Aug 16, 2021
Merged

Add a note to the docstrings differentiating cp function from cp command#41761
StefanKarpinski merged 1 commit intoJuliaLang:masterfrom
thazhemadam:at/cp-doc

Conversation

@thazhemadam
Copy link
Copy Markdown
Member

Add a note as discussed in #36675.
Resolves #36675.

The `cp` function behaves more deterministically than the command and
can have serious consequences if `force=true` when `dst` is a directory.
Add a note to the docstring mentioning this.

Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com>
@StefanKarpinski StefanKarpinski merged commit d612c47 into JuliaLang:master Aug 16, 2021
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
…uliaLang#41761)

The `cp` function behaves more deterministically than the command and
can have serious consequences if `force=true` when `dst` is a directory.
Add a note to the docstring mentioning this.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
…uliaLang#41761)

The `cp` function behaves more deterministically than the command and
can have serious consequences if `force=true` when `dst` is a directory.
Add a note to the docstring mentioning this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Julia cp isn't consistent with command-line cp with destination "."

2 participants