Skip to content

need to write / find a formatter that deletes binaries in certain directories #350

Closed Answered by brianmcgee
gedw99 asked this question in Help
Discussion options

You must be logged in to vote

Hi,

Sorry for the late reply, I'm only seeing this discussion now as I was browsing the repo.

I'm glad you like treefmt, and it's always nice to hear from someone else who's enthusiastic about NATS 😄

Writing a formatter to remove built-up binaries, I would say, falls outside the scope of a formatter and, therefore, outside the scope of treefmt.

You could re-use some bits of treefmt to help traverse the file system, match those files, and so on. Have a look at the walker implementations, for example.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brianmcgee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants