checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
9 lines (8 loc) • 324 B
TypeScript
/**
* Find a the folder containing the given marker.
*
* Unlike ancesdir, this guarantees we look in the same folder as the given
* path and then its ancestors. This is useful if the start path is a folder
* already.
*/
export declare const ancesdirOrCurrentDir: (startPath: string, marker?: string | null) => string;