Function normalizeKeys

  • Splits a string to constituent words and also splits camelCase into different words. Used for both raw user search string input with multiple search terms in a single string and it is also used for generating search keywords from a filepath. Each word is also normalized to lower case and max word length cutoff.

    Parameters

    • cmd: CommandBuilder<unknown[], OptionValues>
    • searchString: string
    • isDir: boolean

    Returns Set<string>

Generated using TypeDoc