Implement filter parsing #4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filters are built up with non-regular grammar. Either we need to implement a parser with a stack of some sort, or we could use a framework like
nom
. Also, there are some non-documented details about filters, particularly a shorthand where you just write the tag name and value without any parenthesis.Note that there also are some places in the protocol where the next command argument could be either a filter or something else, meaning that we probably should not consume iterators and the like before we know for sure that we expect a filter.
See: