checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
13 lines (12 loc) • 456 B
TypeScript
import { NormalizedPathInfo } from "./types";
/**
* Get normalized path and existence for given target.
*
* @param rootPath The absolute path of the root directory for the
* check run.
* @param ref The path, relative to `rootPath` of the file to be
* normalized.
* @returns The info for the given `targetRef` file.
*/
declare const getNormalizedPathInfo: (rootPath: string, ref: string) => NormalizedPathInfo;
export default getNormalizedPathInfo;