AlexKnauth / syntax-sloc

counts the number of source lines of code in a racket syntax object
MIT License
3 stars 1 forks source link

Optional `use-file?` argument to `directory-sloc` #2

Closed AlexKnauth closed 8 years ago

AlexKnauth commented 8 years ago

So that you can specify a predicate to filter the files that directory-sloc looks at, so that it doesn't have to count .rkt~ files for example if the predicate returns false for those.

AlexKnauth commented 8 years ago

Added in https://github.com/AlexKnauth/syntax-sloc/commit/6b14b35ec5393b2732a2c7a4ecfe9176db06eaf1.