From 9581ebeb48c48425f2f8f5160455f26dcdc0c550 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 31 Oct 2024 23:20:13 +0200 Subject: som stuff --- internal/entry/entry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/entry/entry.go') diff --git a/internal/entry/entry.go b/internal/entry/entry.go index 040b509..3fd2623 100644 --- a/internal/entry/entry.go +++ b/internal/entry/entry.go @@ -156,7 +156,7 @@ func (en Entry) HasTag(tag string) bool { // Valid tags are: share:foo[,...] // whereas foo can be a supported plutform such as linkedin, mastodon, etc. // foo can also be prefixed with - to exclude it. See unit tests for examples. -func (en Entry) ExcludedByTags(args config.Args, platform string) (bool, error) { +func (en Entry) PlatformExcluded(args config.Args, platform string) (bool, error) { s, err := newShareTags(args, en.Path) return slices.Contains(s.excludes, strings.ToLower(platform)) || !slices.Contains(s.includes, strings.ToLower(platform)), err -- cgit v1.2.3