8000 using Attoparsec for git ls-tree result by yuanw · Pull Request #99 · github/semantic · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

using Attoparsec for git ls-tree result #99

Closed
wants to merge 1 commit into from

Conversation

yuanw
Copy link
@yuanw yuanw commented Jun 6, 2019

GOAL

address #34

not quite sure to add tests around new functions, since they are not exported

, [oid, path] <- splitOn "\t" rest
= TreeEntry (objectMode mode) (objectType ty) (OID oid) (unpack path)
| otherwise = nullTreeEntry
pure $ either mempty id (Parser.parseOnly treeEntriesParser out)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not quite sure how to handle failure cases

@yuanw yuanw closed this Jun 6, 2019
@tclem tclem mentioned this pull request Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0