MCPcopy Index your code
hub / github.com/github/spec-kit / teardown

Method teardown

src/specify_cli/integrations/base.py:730–744  ·  view source on GitHub ↗

Uninstall integration files from *project_root*. Delegates to ``manifest.uninstall()`` which only removes files whose hash still matches the recorded value (unless *force*). Returns ``(removed, skipped)`` file lists.

(
        self,
        project_root: Path,
        manifest: IntegrationManifest,
        *,
        force: bool = False,
    )

Source from the content-addressed store, hash-verified

728 return created
729
730 def teardown(
731 self,
732 project_root: Path,
733 manifest: IntegrationManifest,
734 *,
735 force: bool = False,
736 ) -> tuple[list[Path], list[Path]]:
737 """Uninstall integration files from *project_root*.
738
739 Delegates to ``manifest.uninstall()`` which only removes files
740 whose hash still matches the recorded value (unless *force*).
741
742 Returns ``(removed, skipped)`` file lists.
743 """
744 return manifest.uninstall(project_root, force=force)
745
746 # -- Convenience helpers for subclasses -------------------------------
747

Callers 4

uninstallMethod · 0.95
integration_installFunction · 0.45
integration_uninstallFunction · 0.45
integration_switchFunction · 0.45

Calls 1

uninstallMethod · 0.45

Tested by

no test coverage detected