Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

thazhemadam
Copy link
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