summaryrefslogtreecommitdiff
path: root/files.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-23 10:49:42 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-23 10:49:42 +0300
commit5944ae60330babebefd42c27ecea9641dceb68f4 (patch)
tree489894c7e9c22f99e68ec7f4778673b3993da89b /files.yaml
parent35b545208202127663cc357fb401444de2ae55d9 (diff)
downloadsubplot-5944ae60330babebefd42c27ecea9641dceb68f4.tar.gz
drop: old files library
Diffstat (limited to 'files.yaml')
-rw-r--r--files.yaml39
1 files changed, 0 insertions, 39 deletions
diff --git a/files.yaml b/files.yaml
deleted file mode 100644
index 4fc44ac..0000000
--- a/files.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-- given: file {filename}
- function: create_file
-
-- given: file (?P<filename>\S+) has modification time (?P<y>\d+)-(?P<mon>\d+)-(?P<d>\d+) (?P<h>\d+):(?P<min>\d+):(?P<s>\d+)
- function: touch_file
- regex: true
-
-- when: I remember the metadata for {filename}
- function: remember_metadata
-
-- when: I touch {filename}
- function: update_mtime
-
-- then: file {filename} exists
- function: file_exists
-
-- then: file {filename} does not exist
- function: file_does_not_exist
-
-- then: file (?P<filename>\S+) matches /(?P<regex>.+)/
- function: file_matches
- regex: true
-
-- then: files {filename1} and {filename2} match
- function: files_match
-
-- then: file (?P<filename>\S+) contains "(?P<pattern>.+)"
- function: file_contains
- regex: true
-
-- then: "{filename} has the same metadata as before"
- function: has_same_metadata_as_remembered
-
-- then: "{filename} has changed from before"
- function: has_diff_metadata_than_remembered
-
-- then: only files (?P<filenames>.+) exist
- function: only_these_files_exist
- regex: true