Skip to content

Commit

Permalink
Added with_stem support
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilthans committed Nov 20, 2022
1 parent 96759b0 commit 612adff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cloudpathlib/cloudpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@ def suffix(self):
def suffixes(self):
return self._dispatch_to_path("suffixes")

def with_stem(self, stem):
return self._dispatch_to_path("with_stem", stem)

Check warning on line 648 in cloudpathlib/cloudpath.py

View check run for this annotation

Codecov / codecov/patch

cloudpathlib/cloudpath.py#L648

Added line #L648 was not covered by tests

def with_name(self, name):
return self._dispatch_to_path("with_name", name)

Expand Down

0 comments on commit 612adff

Please sign in to comment.