scan

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package scan 负责扫描根目录的一级子文件夹,并应用过滤与排序规则生成候选列表。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultIgnoreNames

func DefaultIgnoreNames() map[string]struct{}

Types

type Dir

type Dir struct {
	Name string
	Path string
}

func ListDirs

func ListDirs(root string, options Options) ([]Dir, error)

type Options

type Options struct {
	IgnoreNames map[string]struct{}
}

Jump to

Keyboard shortcuts

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