Documentation
¶
Overview ¶
Package scan 提供来源检查和分批读取目录的流式检索。
Index ¶
- Constants
- func Contains(dir, path string) bool
- func Covered(by, source Source) bool
- func OutputPath(path string) (string, error)
- func Resolve(ctx context.Context, paths []string) ([]Source, []Issue, error)
- func Walk(ctx context.Context, root, output string, visit func(File) error, ...) error
- type File
- type Issue
- type Source
Constants ¶
View Source
const ( DefaultOutputDir = "转换结果" EnglishOutputDir = "Conversion Results" )
默认结果目录在各语言模式下都跳过,防止切换语言后重复转换。
Variables ¶
This section is empty.
Functions ¶
func OutputPath ¶
OutputPath 规范化可能尚未创建的输出目录,解析已有父目录中的符号链接。
Types ¶
Click to show internal directories.
Click to hide internal directories.