├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .npmignore ├── Gruntfile.coffee ├── LICENSE.md ├── README.md ├── bin └── scandal ├── package.json ├── spec ├── chunked-line-reader-spec.coffee ├── fixtures │ ├── git │ │ ├── .gitignore │ │ ├── file.txt │ │ ├── git.git │ │ │ ├── HEAD │ │ │ ├── config │ │ │ ├── index │ │ │ ├── objects │ │ │ │ ├── 65 │ │ │ │ │ └── a457425a679cbe9adf0d2741785d3ceabb44a7 │ │ │ │ ├── e6 │ │ │ │ │ └── 9de29bb2d1d6434b8b29ae775ad8c2e48c5391 │ │ │ │ └── ef │ │ │ │ │ └── 046e9eecaa5255ea5e9817132d4001724d6ae1 │ │ │ └── refs │ │ │ │ └── heads │ │ │ │ └── master │ │ ├── node_modules │ │ │ └── pkg │ │ │ │ └── sample.js │ │ ├── other.txt │ │ └── src │ │ │ ├── .gitignore │ │ │ ├── file.txt │ │ │ ├── node_modules │ │ │ └── pkg │ │ │ │ └── sample.js │ │ │ └── other.txt │ └── many-files │ │ ├── .file8_hidden.js │ │ ├── .gitignore │ │ ├── .root │ │ ├── file3.txt │ │ └── subdir │ │ │ ├── .realhidden │ │ │ └── file1.txt │ │ ├── binary-file.png │ │ ├── dir.with.dots │ │ └── parent-has-dots.txt │ │ ├── dir │ │ └── file7_ignorable.rb │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4_noext │ │ ├── file5_not_really_image.gif │ │ ├── file6_contains_nonascii.dat │ │ ├── file7_multibyte.txt │ │ ├── file9_ignored_by_this_dir.txt │ │ ├── newdir │ │ ├── deep_dir.js │ │ └── seconddir │ │ │ └── very_deep_dir.js │ │ ├── sample-end-newline.js │ │ ├── sample-with-windows-line-endings.js │ │ ├── sample.js │ │ ├── sample.txt │ │ ├── symlink-to-directory │ │ ├── symlink-to-file1.txt │ │ └── thai.txt ├── path-replacer-spec.coffee ├── path-scanner-spec.coffee ├── path-searcher-spec.coffee └── single-process-search-spec.coffee └── src ├── chunked-executor.coffee ├── chunked-line-reader.coffee ├── chunked-scanner.coffee ├── path-filter.coffee ├── path-replacer.coffee ├── path-scanner.coffee ├── path-searcher.coffee ├── scandal.coffee └── single-process-search.coffee /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/.npmignore -------------------------------------------------------------------------------- /Gruntfile.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/Gruntfile.coffee -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/README.md -------------------------------------------------------------------------------- /bin/scandal: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require("../lib/scandal.js").main(); 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/package.json -------------------------------------------------------------------------------- /spec/chunked-line-reader-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/chunked-line-reader-spec.coffee -------------------------------------------------------------------------------- /spec/fixtures/git/.gitignore: -------------------------------------------------------------------------------- 1 | ignored.txt 2 | node_modules 3 | -------------------------------------------------------------------------------- /spec/fixtures/git/file.txt: -------------------------------------------------------------------------------- 1 | Text in this file. 2 | -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/git.git/config -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/git.git/index -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/objects/65/a457425a679cbe9adf0d2741785d3ceabb44a7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/git.git/objects/65/a457425a679cbe9adf0d2741785d3ceabb44a7 -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/git.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/objects/ef/046e9eecaa5255ea5e9817132d4001724d6ae1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/git.git/objects/ef/046e9eecaa5255ea5e9817132d4001724d6ae1 -------------------------------------------------------------------------------- /spec/fixtures/git/git.git/refs/heads/master: -------------------------------------------------------------------------------- 1 | ef046e9eecaa5255ea5e9817132d4001724d6ae1 2 | -------------------------------------------------------------------------------- /spec/fixtures/git/node_modules/pkg/sample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/node_modules/pkg/sample.js -------------------------------------------------------------------------------- /spec/fixtures/git/other.txt: -------------------------------------------------------------------------------- 1 | Full of text -------------------------------------------------------------------------------- /spec/fixtures/git/src/.gitignore: -------------------------------------------------------------------------------- 1 | ignored.txt 2 | node_modules 3 | -------------------------------------------------------------------------------- /spec/fixtures/git/src/file.txt: -------------------------------------------------------------------------------- 1 | a file in a subdirectory 2 | -------------------------------------------------------------------------------- /spec/fixtures/git/src/node_modules/pkg/sample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/git/src/node_modules/pkg/sample.js -------------------------------------------------------------------------------- /spec/fixtures/git/src/other.txt: -------------------------------------------------------------------------------- 1 | another file in a subdirectory 2 | -------------------------------------------------------------------------------- /spec/fixtures/many-files/.file8_hidden.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/.file8_hidden.js -------------------------------------------------------------------------------- /spec/fixtures/many-files/.gitignore: -------------------------------------------------------------------------------- 1 | dir/ 2 | file9_ignored_by_this_dir.txt 3 | -------------------------------------------------------------------------------- /spec/fixtures/many-files/.root/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/.root/file3.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/.root/subdir/.realhidden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/.root/subdir/.realhidden -------------------------------------------------------------------------------- /spec/fixtures/many-files/.root/subdir/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/.root/subdir/file1.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/binary-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/binary-file.png -------------------------------------------------------------------------------- /spec/fixtures/many-files/dir.with.dots/parent-has-dots.txt: -------------------------------------------------------------------------------- 1 | parent has dots, you know 2 | -------------------------------------------------------------------------------- /spec/fixtures/many-files/dir/file7_ignorable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/dir/file7_ignorable.rb -------------------------------------------------------------------------------- /spec/fixtures/many-files/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file1.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file2.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file3.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/file4_noext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file4_noext -------------------------------------------------------------------------------- /spec/fixtures/many-files/file5_not_really_image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file5_not_really_image.gif -------------------------------------------------------------------------------- /spec/fixtures/many-files/file6_contains_nonascii.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file6_contains_nonascii.dat -------------------------------------------------------------------------------- /spec/fixtures/many-files/file7_multibyte.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file7_multibyte.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/file9_ignored_by_this_dir.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/file9_ignored_by_this_dir.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/newdir/deep_dir.js: -------------------------------------------------------------------------------- 1 | needle 2 | -------------------------------------------------------------------------------- /spec/fixtures/many-files/newdir/seconddir/very_deep_dir.js: -------------------------------------------------------------------------------- 1 | text two directories deep 2 | -------------------------------------------------------------------------------- /spec/fixtures/many-files/sample-end-newline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/sample-end-newline.js -------------------------------------------------------------------------------- /spec/fixtures/many-files/sample-with-windows-line-endings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/sample-with-windows-line-endings.js -------------------------------------------------------------------------------- /spec/fixtures/many-files/sample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/fixtures/many-files/sample.js -------------------------------------------------------------------------------- /spec/fixtures/many-files/sample.txt: -------------------------------------------------------------------------------- 1 | Some text. 2 | -------------------------------------------------------------------------------- /spec/fixtures/many-files/symlink-to-directory: -------------------------------------------------------------------------------- 1 | dir/ -------------------------------------------------------------------------------- /spec/fixtures/many-files/symlink-to-file1.txt: -------------------------------------------------------------------------------- 1 | file1.txt -------------------------------------------------------------------------------- /spec/fixtures/many-files/thai.txt: -------------------------------------------------------------------------------- 1 | กา 2 | รทด 3 | สอบ -------------------------------------------------------------------------------- /spec/path-replacer-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/path-replacer-spec.coffee -------------------------------------------------------------------------------- /spec/path-scanner-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/path-scanner-spec.coffee -------------------------------------------------------------------------------- /spec/path-searcher-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/path-searcher-spec.coffee -------------------------------------------------------------------------------- /spec/single-process-search-spec.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/spec/single-process-search-spec.coffee -------------------------------------------------------------------------------- /src/chunked-executor.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/chunked-executor.coffee -------------------------------------------------------------------------------- /src/chunked-line-reader.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/chunked-line-reader.coffee -------------------------------------------------------------------------------- /src/chunked-scanner.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/chunked-scanner.coffee -------------------------------------------------------------------------------- /src/path-filter.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/path-filter.coffee -------------------------------------------------------------------------------- /src/path-replacer.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/path-replacer.coffee -------------------------------------------------------------------------------- /src/path-scanner.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/path-scanner.coffee -------------------------------------------------------------------------------- /src/path-searcher.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/path-searcher.coffee -------------------------------------------------------------------------------- /src/scandal.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/scandal.coffee -------------------------------------------------------------------------------- /src/single-process-search.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atom/scandal/HEAD/src/single-process-search.coffee --------------------------------------------------------------------------------