mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-21 10:30:43 +08:00
This patch changes the glob module in a couple of ways, outlined below. The first change is the use of PatternString in the constructor functions. This removes the fallibility of the constructors. This meant that the tests changed to use the `pattern!` macro instead. The second change is splitting out the `Glob<Branch>` methods into `Glob<Local>` and `Glob<Remote>`. This means that the local and remote globs can be constructed separately, and are then combined via the `branches` and `and` methods. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett