operations

package
v0.0.0-...-80a0973 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
}

func New

func New() *Client

func (*Client) FindFiles

func (c *Client) FindFiles(searchPath string) []string

FindFiles returns a slice containing paths to all files found in a directory NOTE: it will ignore .git folders and their contents

func (*Client) Search

func (c *Client) Search(file string, searchString string) (matches []string)

Search returns a slice of hits that match a string inside a operations The assumption is that this is only used against YAML files it should work on other types but YMMV

Jump to

Keyboard shortcuts

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