fscanner

package module
v0.0.0-...-103eece Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 4 Imported by: 0

README

FScanner

Scan filesystem for things.

fscanner
  --path "path-to-directory-to-start-scanning"
  [--dirsonly]"

At the moment, this is just a dummy project, which returns the found objects as output.

Examples

Scan all objects in filesystem on given path:

go run cmd/fscanner/main.go --path "path-to-directory-to-start-scanning"

Scan for only directories in filesystem on given path:

go run cmd/fscanner/main.go --path "path-to-directory-to-start-scanning" --dirsonly

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() (version string)

func ProcessResults

func ProcessResults(objects []string)

func RunCLI

func RunCLI()

func Scan

func Scan(fsys fs.FS, dirsonly bool) (objectList []string)

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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