scanner

package
v0.0.0-...-9e11140 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package scanner implements processing directory trees looking for files that, allegedly, are podcast episodes, audio books, or parts of audio books.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Walker

type Walker struct {
	Files chan *objects.File
	// contains filtered or unexported fields
}

Walker implements traversing directory trees to find audio files.

func New

func New(conn *db.Database) (*Walker, error)

New creates a new Walker for the given folder.

func (*Walker) Walk

func (w *Walker) Walk(root string) error

Walk initiates the traversal of the Walker's directory tree.

Jump to

Keyboard shortcuts

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