MCPcopy
hub / github.com/cool-RR/PySnooper / as_posix

Method as_posix

tests/mini_toolbox/pathlib.py:899–903  ·  view source on GitHub ↗

Return the string representation of the path with forward (/) slashes.

(self)

Source from the content-addressed store, hash-verified

897 return str(self)
898
899 def as_posix(self):
900 """Return the string representation of the path with forward (/)
901 slashes."""
902 f = self._flavour
903 return str(self).replace(f.sep, '/')
904
905 def __bytes__(self):
906 """Return the bytes representation of the path. This is only

Callers 2

__repr__Method · 0.95
make_uriMethod · 0.80

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected