(input: string, action: (file: string) => unknown)
| 241 | } |
| 242 | |
| 243 | function withPath(input: string, action: (file: string) => unknown) { |
| 244 | return action(path.normalize(input)) |
| 245 | } |
| 246 | const scrollTop = (input: string) => withPath(input, (file) => view().scrollTop(file)) |
| 247 | const scrollLeft = (input: string) => withPath(input, (file) => view().scrollLeft(file)) |
| 248 | const selectedLines = (input: string) => withPath(input, (file) => view().selectedLines(file)) |
no outgoing calls
no test coverage detected