Compare commits
No commits in common. "8dc378b6438116c799ad4d0a2251efe87fec60d0" and "ba4084c2264e9cb32f1e2794e844f2d3c33191b1" have entirely different histories.
8dc378b643
...
ba4084c226
@ -23,9 +23,7 @@ def rm(p):
|
||||
os.remove(p)
|
||||
|
||||
def filepath(f):
|
||||
base = os.environ.get("XDG_CACHE_HOME")
|
||||
base = "/tmp" if base == None else base
|
||||
ret = os.path.join(base, f"repo.{f}")
|
||||
ret = os.path.join(os.environ.get("XDG_CACHE_HOME"), f"repo.{f}")
|
||||
return ret
|
||||
|
||||
def is_file_recent(filepath, minutes=10):
|
||||
|
Loading…
x
Reference in New Issue
Block a user