UNPKG

@mintlify/link-rot

Version:

Static checking for broken internal links

8 lines (7 loc) 413 B
/** * Renames a link in the file system. If the link is a directory, all links within the directory will be renamed as well. * @param oldFilePath - The existing directory or file to rename * @param newFilePath - The new directory or file name * @param force */ export declare const renameFilesAndUpdateLinksInContent: (oldFilePathString: string, newFilePathString: string, force?: boolean) => Promise<void>;