Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psf/black
/ Ok
Class
Ok
src/black/rusty.py:12–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
11
12
class
Ok(Generic[T]):
13
def
__init__(self, value: T) -> None:
14
self._value = value
15
16
def
ok(self) -> T:
17
return
self._value
18
19
20
class
Err(Generic[E]):
Callers
12
do_match
Method · 0.90
do_transform
Method · 0.90
_remove_backslash_line_continuation_chars
Method · 0.90
_merge_string_group
Method · 0.90
_validate_msg
Method · 0.90
do_match
Method · 0.90
do_transform
Method · 0.90
_validate
Method · 0.90
do_splitter_match
Method · 0.90
do_transform
Method · 0.90
do_splitter_match
Method · 0.90
do_transform
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected