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

Method _raw_open

tests/mini_toolbox/pathlib.py:1233–1240  ·  view source on GitHub ↗

Open the file pointed by this path and return a file descriptor, as os.open() does.

(self, flags, mode=0o777)

Source from the content-addressed store, hash-verified

1231 return self._accessor.open(self, flags, mode)
1232
1233 def _raw_open(self, flags, mode=0o777):
1234 """
1235 Open the file pointed by this path and return a file descriptor,
1236 as os.open() does.
1237 """
1238 if self._closed:
1239 self._raise_closed()
1240 return self._accessor.open(self, flags, mode)
1241
1242 # Public API
1243

Callers 1

touchMethod · 0.95

Calls 2

_raise_closedMethod · 0.95
openMethod · 0.80

Tested by

no test coverage detected