Table of Contents

Class ReuseDirectory

Namespace
FVNever.Reuse
Assembly
FVNever.Reuse.dll

Provides high-level operations for scanning a directory and extracting REUSE licensing information from files, sidecar .license files, and DEP-5 metadata.

public static class ReuseDirectory
Inheritance
ReuseDirectory
Inherited Members

Methods

ReadEntries(AbsolutePath)

Reads all REUSE entries discoverable within the specified directory.

public static Task<List<ReuseFileEntry>> ReadEntries(AbsolutePath directory)

Parameters

directory AbsolutePath

Absolute path to the base directory to scan.

Returns

Task<List<ReuseFileEntry>>

A task that produces a list of ReuseFileEntry values. Each entry corresponds to a file for which licensing information was found in-place, in a sidecar .license file, or via a matching DEP-5 stanza.