(self, path)
| 1270 | return contents |
| 1271 | |
| 1272 | def MaybeMakeDirectory(self, path): |
| 1273 | try: |
| 1274 | os.makedirs(path) |
| 1275 | except OSError as e: |
| 1276 | if e.errno != errno.EEXIST: |
| 1277 | raise |
| 1278 | |
| 1279 | def PathJoin(self, *comps): |
| 1280 | # This function largely exists so it can be overriden for testing. |