static async find(src) {
        const isDir = File.find(src).isDirectory();
        const pattern = isDir ? path.join(src, '**/*') : src;

        const matches = await globAsync(pattern, { nodir: true });

        return {
            isDir,
            matches
        };
    }
@internal
@param {string} src
@returns {Promise<{isDir: boolean, matches: string[]}>}