mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Show deleted files in the working directory and the index
This commit is contained in:
parent
20358f78a1
commit
107d6f8fb1
3 changed files with 29 additions and 13 deletions
scenes
|
@ -11,6 +11,12 @@ func crash(message):
|
|||
# Violent delights have violent ends.
|
||||
get_tree().fatal_error()
|
||||
|
||||
func map(array, object, f):
|
||||
var new_array = []
|
||||
for i in range(array.size()):
|
||||
new_array.push_back(object.call(f, array[i]))
|
||||
return new_array
|
||||
|
||||
# Run a simple command with arguments, blocking, using OS.execute.
|
||||
func exec(command, args=[], crash_on_fail=true):
|
||||
var debug = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue