diff options
Diffstat (limited to 'obnam/store.py')
-rw-r--r-- | obnam/store.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/obnam/store.py b/obnam/store.py index abd2cc65..73e0458b 100644 --- a/obnam/store.py +++ b/obnam/store.py @@ -205,3 +205,13 @@ class Store: parts = self.parse_pathname(pathname) return self._lookup_dir_from_refs(generation.get_dirrefs(), parts) + + def lookup_file(self, generation, pathname): + """Find a non-directory thingy in a generation. + + Return a FILE component that corresponds to the filesystem entity + in question. If not found, return None. + + """ + + return None |