Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
9933780e
Commit
9933780e
authored
May 11, 2026
by
Eric Duminil
Browse files
Debug modified files
parent
afcdf296
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/simstadt/runner.py
View file @
9933780e
...
@@ -180,12 +180,12 @@ def _get_all_files(folder: Path) -> dict[Path, float]:
...
@@ -180,12 +180,12 @@ def _get_all_files(folder: Path) -> dict[Path, float]:
def
_compare_written_files
(
repo_path
:
Path
,
before
:
dict
,
after
:
dict
)
->
list
[
Path
]:
def
_compare_written_files
(
repo_path
:
Path
,
before
:
dict
,
after
:
dict
)
->
list
[
Path
]:
modified
=
[]
modified
=
[]
log
.
info
(
"# Listing written files:"
)
log
.
debug
(
"# Listing written files:"
)
for
result_file
,
mtime
in
sorted
(
after
.
items
()):
for
result_file
,
mtime
in
sorted
(
after
.
items
()):
if
mtime
>
before
.
get
(
result_file
,
0
):
if
mtime
>
before
.
get
(
result_file
,
0
):
log
.
info
(
" * '%s'"
,
result_file
.
relative_to
(
repo_path
))
log
.
debug
(
" * '%s'"
,
result_file
.
relative_to
(
repo_path
))
modified
.
append
(
result_file
)
modified
.
append
(
result_file
)
log
.
info
(
""
)
log
.
debug
(
""
)
return
modified
return
modified
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment