(self, *, path, parent_fd, name, st, strip_prefix)
| 1365 | return status |
| 1366 | |
| 1367 | def process_symlink(self, *, path, parent_fd, name, st, strip_prefix): |
| 1368 | with self.create_helper(path, st, "s", hardlinkable=True, strip_prefix=strip_prefix) as ( |
| 1369 | item, |
| 1370 | status, |
| 1371 | hardlinked, |
| 1372 | hl_chunks, |
| 1373 | ): |
| 1374 | if item is None: |
| 1375 | return status |
| 1376 | fname = name if name is not None and parent_fd is not None else path |
| 1377 | with backup_io("readlink"): |
| 1378 | target = os.readlink(fname, dir_fd=parent_fd) |
| 1379 | item.target = target |
| 1380 | item.update(self.metadata_collector.stat_attrs(st, path)) # can't use FD here? |
| 1381 | return status |
| 1382 | |
| 1383 | def process_pipe(self, *, path, cache, fd, mode, user=None, group=None): |
| 1384 | status = "i" # stdin (or other pipe) |
nothing calls this directly
no test coverage detected