ancesdir
Version:
Find a specific ancestor/root directory given a starting location and a search parameter
10 lines (9 loc) • 370 B
TypeScript
import { AncesdirFn } from "./types";
/**
* Find the ancestral directory containing a specific marker file.
*
* This function searches for the ancestral directory that contains the
* specified marker file, starting with the parent directory of the given path
* or the parent directory of ancesdir's package directory.
*/
export declare const ancesdir: AncesdirFn;