noop

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package noop provides a NoopAdapter that always Detect()s true, Renders no FileOps, and Apply()s nothing. Used as a registry placeholder in tests and as the default adapter set in M0 before M1+ adds real ones.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	AdapterName string // overridable for tests
}

func New

func New(name string) *Adapter

func (*Adapter) Apply

func (*Adapter) Capabilities

func (a *Adapter) Capabilities() adapter.Capability

func (*Adapter) Detect

func (a *Adapter) Detect() (bool, error)

func (*Adapter) Ingest

func (a *Adapter) Ingest(adapter.Scope, string) (source.Canonical, error)

func (*Adapter) KeyMergeStrategy

func (a *Adapter) KeyMergeStrategy() string

func (*Adapter) Name

func (a *Adapter) Name() string

func (*Adapter) Render

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL