hizuru

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

README

hizuru

Hizuru Minakata from Summer Time Rendering is an author and a detective in her time, which she uses as an inspiration for her novels.

Here, hizuru is responsible for finding input files for processing. So, she is like a "detective" that walks around the file system, finding all the input files to feed to the parser.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPagesSimple

func BuildPagesSimple(conf *alpha.DarknessConfig, dirs []string) []*yunyun.Page

BuildPagesSimple will return a slice of built pages that have dirs as parents (empty dirs will return everything).

func FindFilesByExt

func FindFilesByExt(conf *alpha.DarknessConfig, inputFiles chan<- yunyun.FullPathFile)

FindFilesByExt finds all files with a given extension.

func FindFilesByExtSimple

func FindFilesByExtSimple(conf *alpha.DarknessConfig) []yunyun.FullPathFile

FindFilesByExtSimple is the same as `FindFilesByExt` but it simply blocks the parent goroutine until it processes all the results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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