Skip to content

New functionality, sniff last record from file#34

Open
RemingtonRohel wants to merge 1 commit into
developfrom
sniff_last
Open

New functionality, sniff last record from file#34
RemingtonRohel wants to merge 1 commit into
developfrom
sniff_last

Conversation

@RemingtonRohel
Copy link
Copy Markdown
Contributor

Usable in both APIs.

Rust

Exposed in the Record trait as fn sniff_last_file<P: AsRef<Path>>(infile: P) -> Result<Self, DmapError>

Python

Use the kwarg mode="sniff_last" for the Python API.

* Usable in both APIs, useful for getting last record (e.g. want length of file, not whole thing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant