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

无法remove手动删除的工作区 #26

Open
JJLAAA opened this issue Apr 30, 2022 · 2 comments
Open

无法remove手动删除的工作区 #26

JJLAAA opened this issue Apr 30, 2022 · 2 comments
Assignees

Comments

@JJLAAA
Copy link

JJLAAA commented Apr 30, 2022

如果手动删除了创建的容器与clone的代码库,再执行smartide remove ${workspace_id}或者smartide remove -y -f后,执行smartide ls发现对应的workspace仍然存在,除非手动删除~/.ide/才能删除记录

@ups216
Copy link
Contributor

ups216 commented Apr 30, 2022

@chileeb 跟进一下,我记得这个我问题已经处理过。
@JJLAAA cli的逻辑应该是 - 如果发现对应ws的底层目录或者容器都不在了,在你执行 remove -fy 的时候会直接清除记录,这样smartide list 就不会再出现这个ws了。

@JJLAAA
Copy link
Author

JJLAAA commented May 1, 2022

补充:

  1. 只删除容器,而不删除对应的代码库的目录时,执行smartide remove ${ws_id}可以成功删除该目录,并且删除记录。如果容器与代码库都删除,即便执行smartide remove -y -f,也无法删除记录
  2. smartide cli版本为v0.1.17.3267

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

No branches or pull requests

3 participants