Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csppfetch
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
cspp_geo
csppfetch
Commits
94a93d2f
Commit
94a93d2f
authored
3 years ago
by
Alan De Smet
Browse files
Options
Downloads
Patches
Plain Diff
Document argument
parent
37056b20
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/aitf-update-cache
+2
-0
2 additions, 0 deletions
example/aitf-update-cache
with
2 additions
and
0 deletions
example/aitf-update-cache
+
2
−
0
View file @
94a93d2f
...
@@ -116,6 +116,8 @@ def unlink_if_old(filename, expiration_time, stats):
...
@@ -116,6 +116,8 @@ def unlink_if_old(filename, expiration_time, stats):
expiration time is epoch time, as returned by os.path.getmtime(path)
expiration time is epoch time, as returned by os.path.getmtime(path)
or time.time().
or time.time().
stats is a CleaningStats object (above)
If the file doesn
'
t exist, does nothing, does not raise an exception.
If the file doesn
'
t exist, does nothing, does not raise an exception.
This is on the theory that another process may have cleaned it up
This is on the theory that another process may have cleaned it up
while we were considering doing so.
while we were considering doing so.
...
...
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