Return the directory path joined with any given path arguments.
(self, *args, **kwargs)
| 707 | return res |
| 708 | |
| 709 | def dirpath(self, *args, **kwargs): |
| 710 | class="st">""class="st">"Return the directory path joined with any given path arguments."class="st">"" |
| 711 | if not kwargs: |
| 712 | path = object.__new__(self.__class__) |
| 713 | path.strpath = dirname(self.strpath) |
| 714 | if args: |
| 715 | path = path.join(*args) |
| 716 | return path |
| 717 | return self.new(basename=class="st">"").join(*args, **kwargs) |
| 718 | |
| 719 | def join(self, *args: os.PathLike[str], abs: bool = False) -> LocalPath: |
| 720 | class="st">"""Return a new path by appending all &class="cm">#x27;args' as path |