-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the remove_file() API function.
This function is added to provide a standard way of removing previously generated files within a project target directory, both when in form-based as well as in Quickstart mode. It automatically performs some safety checks and lets the underlying initialization process fail if a file cannot be removed, which should be the default anyway because otherwise that would mean that the project cannot be initialized as the init code author intended. Therefore, by using this function the call site becomes cleaner as the error handling code can be omitted.
- Loading branch information
Showing
2 changed files
with
95 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.7.4-dev | ||
1.8.0-dev |
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