scanskip

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package scanskip lists the folders a search for checkouts never enters. The daemon's clone finder uses it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir(name string) bool

Dir reports directory names a scan never enters: hidden folders, dependency and build output, and operating system application folders.

func DirFor

func DirFor(goos, name string) bool

DirFor is Dir for the named operating system (runtime.GOOS values): names are compared without regard to case on macOS and Windows.

func UserData

func UserData(name string) bool

UserData reports well-known folders of a home directory that hold personal files or cloud mounts, not projects. A scan never reads them; it applies the check to the home directory's children and to the folders it is asked to start from.

func UserDataFor

func UserDataFor(goos, name string) bool

UserDataFor is UserData for the named operating system. On Windows it also lists AppData, which holds application state, not projects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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