Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

[Feature Req] Ignore dot files and other non source directories #2

Closed
sqwyer opened this issue Mar 25, 2022 · 0 comments
Closed

[Feature Req] Ignore dot files and other non source directories #2

sqwyer opened this issue Mar 25, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sqwyer
Copy link
Owner

sqwyer commented Mar 25, 2022

[Feature Req] Ignore dot files and other non source directories

What should happen? Dot files (such as .gitignore), and other directories such as the .git, target, or node_modules directories should be ignored in loc read.

Example

# (File Structure)
- /
  |--/target/
    |--debug/
    |--release/
    |--.rust_info.json
    |--CACHEDIR.tag
  |--/src/
    |--main.rs
  |--.gitignore
loc . # should output "x lines of code accross 1 file(s)"

The only file from this directory that should be read is /src/main.rs as it is not in the /target/ directory, and is not a dot file like .gitignore.


React with 👍 or 👎

@sqwyer sqwyer added the enhancement New feature or request label Mar 25, 2022
@sqwyer sqwyer self-assigned this Mar 25, 2022
@sqwyer sqwyer closed this as completed Jul 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant