apply

package
v0.0.0-...-1bb7c6f Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package apply implements the apply function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apply

type Apply struct {
	// contains filtered or unexported fields
}

Apply defines the business logic for application related operations within this library

func New

func New(delta *models.Delta, storage store.Storage, log *zerolog.Logger, tracer trace.Tracer) *Apply

New creates an instance of the Apply implementation

func (*Apply) Changes

func (a *Apply) Changes(ctx context.Context, originalSig *models.Signature) (*models.Signature, error)

Changes applies the changes described in the given Delta to the original file

Jump to

Keyboard shortcuts

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