MCPcopy
hub / github.com/marimo-team/marimo / replace

Method replace

marimo/_utils/async_path.py:103–106  ·  view source on GitHub ↗

Replace the path with target.

(self, target: str | AsyncPath | Path)

Source from the content-addressed store, hash-verified

101 return self.__class__(result)
102
103 async def replace(self, target: str | AsyncPath | Path) -> AsyncPath:
104 """Replace the path with target."""
105 result = await asyncio.to_thread(self._path.replace, target)
106 return self.__class__(result)
107
108 async def symlink_to(
109 self, target: str | Path, target_is_directory: bool = False

Callers 15

escapeRegexFunction · 0.45
postTransformFunction · 0.45
takeScreenshotFunction · 0.45
pressShortcutFunction · 0.45
loop_replaceFunction · 0.45
__Function · 0.45
titleCaseFunction · 0.45
formatToolNameFunction · 0.45
ColumnSelectorFunction · 0.45

Calls 1

__class__Method · 0.80