Files

15 lines
663 B
TypeScript

// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
// The types of scripts/licence.mjs, for the tests that read its rules.
export const SPDX_ID: string
export const SPDX_LINE: string
export const LIST_FILE: string
export function headerFor(path: string): string | null
export function templateFiles(root: string): string[]
export function listText(paths: readonly string[]): string
export function parseList(text: string): string[]
export function hasHeader(text: string, path: string): boolean
export function withHeader(text: string, path: string): string
export function problems(root: string): string[]
export function write(root: string): string[]