(path string)
| 20 | var metaG singleflight.Group[*model.Meta] |
| 21 | |
| 22 | func GetNearestMeta(path string) (*model.Meta, error) { |
| 23 | return getNearestMeta(utils.FixAndCleanPath(path)) |
| 24 | } |
| 25 | func getNearestMeta(path string) (*model.Meta, error) { |
| 26 | meta, err := GetMetaByPath(path) |
| 27 | if err == nil { |
no test coverage detected