MCPcopy
hub / github.com/pallets/click / edit

Function edit

src/click/termui.py:756–762  ·  view source on GitHub ↗
(
    text: bytes | bytearray,
    editor: str | None = None,
    env: cabc.Mapping[str, str] | None = None,
    require_save: bool = False,
    extension: str = ".txt",
)

Source from the content-addressed store, hash-verified

754
755@t.overload
756def edit(
757 text: bytes | bytearray,
758 editor: str | None = None,
759 env: cabc.Mapping[str, str] | None = None,
760 require_save: bool = False,
761 extension: str = ".txt",
762) -> bytes | None: ...
763
764
765@t.overload

Callers

nothing calls this directly

Calls 3

editMethod · 0.95
edit_filesMethod · 0.95
EditorClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…