MCPcopy Create free account
hub / github.com/sissaschool/xmlschema / normalize

Method normalize

xmlschema/utils/paths.py:145–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 return prefix + quote_from_bytes(os.fsencode(path))
144
145 def normalize(self) -> 'LocationPath':
146 normalized_path = self._path_module.normpath(str(self))
147 return self.__class__(normalized_path)
148
149
150class LocationPosixPath(LocationPath, PurePosixPath):

Callers 3

get_location_pathMethod · 0.45
normalize_urlFunction · 0.45
match_locationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected