src/pylib/Lib/pathlib_impl/segments

Source   Edit  

Procs

func name(self: Path): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
func parent(self: Path): Path {....raises: [], tags: [], forbids: [].}
Source   Edit  
func parents(self: Path): seq[Path] {....raises: [], tags: [], forbids: [].}
In Python: returns an immutable Sequence Source   Edit  
func parts(self: Path): seq[string] {....raises: [], tags: [], forbids: [].}
Path.parts Source   Edit  
func stem(self: Path): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
func suffix(self: Path): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
func suffixes(self: Path): seq[string] {....raises: [], tags: [], forbids: [].}
Source   Edit  
func with_name(self: Path; name: string): Path {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
func with_suffix(self: Path; suffix: string): Path {....raises: [], tags: [],
    forbids: [].}
Source   Edit  

Iterators

iterator parents(self: Path): Path {....raises: [], tags: [], forbids: [].}
Source   Edit  
iterator parts(self: Path): string {....raises: [], tags: [], forbids: [].}
Path.parts Source   Edit  
iterator suffixes(self: Path): string {....raises: [], tags: [], forbids: [].}
Source   Edit