diff options
| author | 2026-02-21 12:27:55 +0800 | |
|---|---|---|
| committer | 2026-02-21 12:27:55 +0800 | |
| commit | 680d30bd77c4793fe5c1eaa05ad5217a2faee7c0 (patch) | |
| tree | 94f41a7ad5c9f82cce15639c969a42194b486dfa /refstore/reftable/path.go | |
| parent | testgit: Add RepoOptions and NewRepo for ref format and bare. (diff) | |
| signature | No signature | |
refstore/reftable: Add basic implementation
Diffstat (limited to 'refstore/reftable/path.go')
| -rw-r--r-- | refstore/reftable/path.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/refstore/reftable/path.go b/refstore/reftable/path.go new file mode 100644 index 00000000..3bdaf5cd --- /dev/null +++ b/refstore/reftable/path.go @@ -0,0 +1,8 @@ +package reftable + +import "path" + +// pathMatch applies path.Match to full ref names. +func pathMatch(pattern, name string) (bool, error) { + return path.Match(pattern, name) +} |
