Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dec0dOS/amazing-github-template
/ remove
Function
remove
hooks/post_gen_project.py:8–13 ·
view source on GitHub ↗
(filepath)
Source
from the content-addressed store, hash-verified
6
7
8
def
remove(filepath):
9
fullpath = os.path.join(PROJECT_DIRECTORY, filepath)
10
if
os.path.isfile(fullpath):
11
os.remove(fullpath)
12
else
:
13
shutil.rmtree(fullpath, ignore_errors=True)
14
15
16
if
__name__ ==
"__main__"
:
Callers
1
post_gen_project.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected