Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
diffoscope
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reproducible Builds
diffoscope
Commits
6cb11741
You need to sign in or sign up before continuing.
Commit
6cb11741
authored
1 month ago
by
Chris Lamb
Browse files
Options
Downloads
Patches
Plain Diff
Correct import masking issue.
parent
e03594f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
diffoscope/comparators/directory.py
+6
-6
6 additions, 6 deletions
diffoscope/comparators/directory.py
with
6 additions
and
6 deletions
diffoscope/comparators/directory.py
+
6
−
6
View file @
6cb11741
...
...
@@ -80,16 +80,16 @@ def stat_results_same(stat1, stat2):
return
stat_result_to_tuple
(
stat1
)
==
stat_result_to_tuple
(
stat2
)
def
stat_result_to_tuple
(
s
tat
):
def
stat_result_to_tuple
(
s
):
return
(
s
tat
.
st_mode
,
s
tat
.
st_uid
,
s
tat
.
st_gid
,
s
.
st_mode
,
s
.
st_uid
,
s
.
st_gid
,
# Directory sizes are essentially arbitrary and filesystem dependent,
# and may even differ, depending on the history of the directory.
# (See MR !150)
s
tat
.
st_size
if
not
stat
.
S_ISDIR
(
s
tat
.
st_mode
)
else
None
,
s
tat
.
st_mtime
,
s
.
st_size
if
not
stat
.
S_ISDIR
(
s
.
st_mode
)
else
None
,
s
.
st_mtime
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment