WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
1
2
3
4
5
6
7
8
9
10
export = LinkResolver;
declare class LinkResolver {
    /** @type {Map<string, readonly string[]>} */
    cache: Map<string, readonly string[]>;
    /**
     * @param {string} file path to file or directory
     * @returns {readonly string[]} array of file and all symlinks contributed in the resolving process (first item is the resolved file)
     */
    resolve(file: string): readonly string[];
}