scan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package scan finds transcript files to sync below the Claude projects root.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Classify

func Classify(relPath string) (protocol.Kind, bool)

Classify maps a '/'-separated relative path to its sync kind.

Types

type Entry

type Entry struct {
	RelPath, AbsPath string
	Kind             protocol.Kind
}

Entry is a classified regular file.

func Walk

func Walk(root string) ([]Entry, error)

Walk returns all classified regular files below root, sorted by RelPath. A missing root yields no entries and no error. A symlinked root is resolved; symlinks below it are skipped. Unreadable entries are skipped: the partial result is returned together with a joined non-nil error naming them.

Jump to

Keyboard shortcuts

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