equal
deleted
inserted
replaced
236 """ |
236 """ |
237 return a function that opens files relative to base |
237 return a function that opens files relative to base |
238 |
238 |
239 this function is used to hide the details of COW semantics and |
239 this function is used to hide the details of COW semantics and |
240 remote file access from higher level code. |
240 remote file access from higher level code. |
241 |
|
242 todo: separate remote file access into a separate function |
|
243 """ |
241 """ |
244 p = base |
242 p = base |
245 def o(path, mode="r"): |
243 def o(path, mode="r"): |
246 f = os.path.join(p, path) |
244 f = os.path.join(p, path) |
247 |
245 |