scan

package
v0.0.1-beta6 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package scan provides the functionality for ajfs scan command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg Config) error

Process the ajfs scan command.

Types

type Config

type Config struct {
	config.CommonConfig
	config.FilterConfig

	Root string // The path to be scanned.

	ForceOverride bool // Override any existing database file.

	CalculateHashes bool        // Calculate file signature hashes.
	Algo            ajhash.Algo // Algorithm to use for calculating the hashes.

	DryRun   bool // Only display files and directories that would have been stored in the database.
	InitOnly bool // The initial database will be created without long running processes (hashing).
	// contains filtered or unexported fields
}

Config for the ajfs scan command.

Jump to

Keyboard shortcuts

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