We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de311d4 commit 17f4b2cCopy full SHA for 17f4b2c
rotate_backups/__init__.py
@@ -312,7 +312,7 @@ def search(self, entry: str) -> FilenameMatch:
312
return FilenameMatch(match)
313
314
315
-class TimestampMatch:
+class StatsMatch:
316
entry: str = None
317
field: str = None
318
@@ -326,14 +326,14 @@ def match_to_datetime(self) -> datetime.datetime:
326
)
327
328
329
-class TimestampMatcher:
+class StatsMatcher:
330
timestamp: str = None
331
332
def __init__(self, timestamp='mtime'):
333
self.timestamp = timestamp
334
335
def search(self, entry: str) -> Match:
336
- return TimestampMatch(entry, self.timestamp)
+ return StatsMatch(entry, self.timestamp)
337
338
339
class RotateBackups(PropertyManager):
0 commit comments