Commit Graph

34 Commits

Author SHA1 Message Date
Dillon Kearns
ee874f3ba0 Address review fixes. 2021-06-03 17:14:25 -07:00
Dillon Kearns
124846eeb9 Update docs. 2021-05-28 13:06:07 -07:00
Dillon Kearns
18d8d6cdfd Update glob docs. 2021-05-27 14:18:48 -07:00
Dillon Kearns
35045ed51e Move some logic to internals to remove low-level functions from public API. 2021-05-27 13:27:09 -07:00
Dillon Kearns
1f0092736d Update Glob docs and add captureFilePath. 2021-05-27 11:04:19 -07:00
Dillon Kearns
d520f734b3 Make sure that capture list is updated when running Glob.match (not just Glob.capture). 2021-05-26 14:57:16 -07:00
Dillon Kearns
526b93a086 Add a workaround for allowing **/* globs to use regex match that makes the / optional. Might revisit with an API-level change rather than a regex hack. 2021-05-21 09:20:54 -07:00
Dillon Kearns
61c246ed46 Update test with new recursiveWildcard list type. 2021-05-21 09:20:54 -07:00
Dillon Kearns
d2b2408d31 Rename Glob.ignore -> Glob.match. 2021-05-19 18:20:47 -07:00
Dillon Kearns
17553550b4 Put Glob under DataSource namespace. 2021-04-28 14:05:08 -07:00
Dillon Kearns
b245d7dc98 Remove obsolete captures list (now derived from running regex). 2021-04-25 20:38:48 -07:00
Dillon Kearns
664cb77c78 Remove not functions from Glob API for now. 2021-04-25 20:34:56 -07:00
Dillon Kearns
cf589a407b Run Regex matching in Elm for Glob module. 2021-04-25 19:39:54 -07:00
Dillon Kearns
65e6ef52dd Rename glob functions with ignore/capture instead of drop/keep to make it more intuitive. 2021-04-20 13:53:53 -07:00
Dillon Kearns
67c75b41e4 Add type annotation. 2021-04-02 13:54:42 -07:00
Dillon Kearns
9ad1a606a8 Apply auto-fixes. 2021-04-02 13:53:50 -07:00
Dillon Kearns
1e5d6b8a0e Add file path and glob handlers. 2021-03-31 19:55:28 -07:00
Dillon Kearns
279c16c760 Add getFullPath function for Glob. 2021-03-31 19:52:09 -07:00
Dillon Kearns
e0a06df5d9 Add Glob.atLeastOne. 2021-03-31 13:56:56 -07:00
Dillon Kearns
78f704d578 Change oneOf format to use (pattern1|pattern2) notation. 2021-03-31 13:26:59 -07:00
Dillon Kearns
3fb2893dee Add Glob.not. 2021-03-31 13:10:02 -07:00
Dillon Kearns
4c577cce66 Rename glob star functions. 2021-03-31 12:42:48 -07:00
Dillon Kearns
ea75b4acc2 Add recursive glob matcher. 2021-03-31 12:41:49 -07:00
Dillon Kearns
f7c647fb80 Rename temporary function names from removed API functions. 2021-03-30 19:57:34 -07:00
Dillon Kearns
aef010ced7 Remove unused code. 2021-03-30 19:55:52 -07:00
Dillon Kearns
f11b5bda39 Convert last test case over to new glob API. 2021-03-30 19:52:17 -07:00
Dillon Kearns
8bb55a0528 Convert more tests to new glob API. 2021-03-30 19:49:04 -07:00
Dillon Kearns
06069a5e16 Convert another glob test over to the new API. 2021-03-30 19:47:46 -07:00
Dillon Kearns
bb1ee9b7c0 Change glob API to use same type between matchers and top-level glob type. 2021-03-30 19:43:37 -07:00
Dillon Kearns
8cfa4be975 Rename init to succeed. 2021-03-30 17:53:17 -07:00
Dillon Kearns
9bbe0874ce Don't allow arbitrary glob patterns, only literals, in zeroOrMore. 2021-03-30 17:50:45 -07:00
Dillon Kearns
65e2ca52ac Add optional group parsing. 2021-03-30 16:04:05 -07:00
Dillon Kearns
b80a59e2fc Add a oneOf matcher. 2021-03-30 15:37:03 -07:00
Dillon Kearns
6983dd582b Add a starting point for glob API. 2021-03-30 14:16:32 -07:00