Skip to content

Commit

Permalink
Rename core classifier file (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdigital authored Oct 28, 2024
1 parent 1f9b67f commit 36d989b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitmagnet.io/guides/classifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The classifier is declared in YAML format. The application includes a [core clas

**bitmagnet** will attempt to load classifier source code from all the following locations. Any discovered classifier source will be merged with other sources in the following order of precedence:

- [the core classifier](https://github.com/bitmagnet-io/bitmagnet/blob/main/internal/classifier/classifier.core.yaml)
- [the core classifier](https://github.com/bitmagnet-io/bitmagnet/blob/main/internal/classifier/classifier.core.yml)
- `classifier.yml` in the [XDG-compliant](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) config location for the current user (for example on MacOS this is `~/Library/Application Support/bitmagnet/classifier.yml`)
- `classifier.yml` in the current working directory
- [Classifier configuration](#configuration)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/classifier/source_core.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import (
_ "embed"
)

//go:embed classifier.core.yaml
//go:embed classifier.core.yml
var classifierCoreYaml []byte

0 comments on commit 36d989b

Please sign in to comment.