gpt4 book ai didi

package - 在 Julia 中,如何取消 -`dev` 包?

转载 作者:行者123 更新时间:2023-12-05 05:32:51 25 4
gpt4 key购买 nike

我之前使用 Pkg 的 dev 命令将一个包克隆到我的 .julia/dev 文件夹中。我怎样才能撤消该操作,以便 Julia 忘记我有一个标记为开发的本地版本?

最佳答案

dev 可以通过free 撤销。

请注意,在 Julia 包管理器中,您可以使用 help 命令:

(@v1.8) pkg> help dev
(...)
Make a package available for development. If pkg is an existing local path, that path will be recorded in the manifest and used.
(...)
This operation is undone by free.
(...)

(@v1.8) pkg> help free
free pkg[=uuid] ...
free [--all]

Free pinned packages, which allows it to be upgraded or downgraded again. If the package is checked out (see help develop) then
this command makes the package no longer being checked out.

关于package - 在 Julia 中,如何取消 -`dev` 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73981915/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com