Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get total rows number about the CSV file that was validated #143

Closed
kwent opened this issue Sep 10, 2015 · 3 comments
Closed

Get total rows number about the CSV file that was validated #143

kwent opened this issue Sep 10, 2015 · 3 comments

Comments

@kwent
Copy link

kwent commented Sep 10, 2015

Hi,

Similar to the example below, i would love to be able to know how many rows my csv is without reparsing all the files via csv ruby library ...

# get some information about the CSV file that was validated
validator.encoding
validator.content_type
validator.extension
**validator.rows**

Regards,

@pezholio
Copy link
Contributor

We already count the rows internally, so this should be pretty trivial. We're currently refactoring how the internals of CSVlint work quite considerably, but will bear this in mind for the refactoring work 👍

@kwent
Copy link
Author

kwent commented Sep 11, 2015

Awesome !

On Friday, September 11, 2015, pezholio [email protected] wrote:

We already count the rows internally, so this should be pretty trivial.
We're currently refactoring how the internals of CSVlint work quite
considerably, but will bear this in mind for the refactoring work [image:
👍]


Reply to this email directly or view it on GitHub
#143 (comment).

@kwent
Copy link
Author

kwent commented Sep 15, 2015

@pezholio An idea of ETA ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants