(inputs: ReadonlyArray<string>, directory: string)
| 63 | } |
| 64 | |
| 65 | function within(inputs: ReadonlyArray<string>, directory: string) { |
| 66 | const prefix = directory.endsWith(sep) ? directory : directory + sep |
| 67 | return inputs.filter((input) => input === directory || input.startsWith(prefix)) |
| 68 | } |
no outgoing calls
no test coverage detected