-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust-remove: handle non-eden directory
Summary: ## Background We are migrating eden remove command from Python to Rust for better error handling and code readability. ## This Diff Implemented how we should handle the request when the user is trying to remove a non-eden directory. The handling logic is the same as the Python CLI: - For a directory managed by Eden but not a root directory of the repo, we warn the user and do nothing. - For a directory that is not managed by Eden, we prompt the user and go removing it after getting the permission. Reviewed By: muirdm Differential Revision: D65802306 fbshipit-source-id: 1e55adeef550b09da89bab83f0fc4351b8aca8c2
- Loading branch information
1 parent
d2640f5
commit ae23411
Showing
2 changed files
with
127 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters