A pure metadata operation
(self, basename)
| 970 | )) |
| 971 | |
| 972 | def open_no_data(self, basename): |
| 973 | """ |
| 974 | A pure metadata operation |
| 975 | """ |
| 976 | assert(self.is_mounted()) |
| 977 | |
| 978 | path = os.path.join(self.hostfs_mntpt, basename) |
| 979 | |
| 980 | p = self._run_python(dedent( |
| 981 | """ |
| 982 | f = open("{path}", 'w') |
| 983 | """.format(path=path) |
| 984 | )) |
| 985 | p.wait() |
| 986 | |
| 987 | def open_background(self, basename="background_file", write=True, content="content"): |
| 988 | """ |
nothing calls this directly
no test coverage detected