inbound

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package inbound provides inbound adapters for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSWalker

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

FSWalker walks the file system to collect file information.

func NewFSWalker

func NewFSWalker() *FSWalker

NewFSWalker creates a new FSWalker.

func (*FSWalker) Walk

func (w *FSWalker) Walk(ctx context.Context, roots []string, ignore []string) ([]indexing.FileInfo, error)

Walk traverses the given root directories and returns file information. Paths matching ignore patterns are excluded.

func (*FSWalker) WalkSingleFile

func (w *FSWalker) WalkSingleFile(path string) (indexing.FileInfo, error)

WalkSingleFile returns FileInfo for a single file. Useful for getting info about a specific file without walking directories.

func (*FSWalker) WithHash

func (w *FSWalker) WithHash(enabled bool) *FSWalker

WithHash enables computing file content hashes during walks.

Jump to

Keyboard shortcuts

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