11 lines
284 B
Go
11 lines
284 B
Go
|
package util
|
||
|
|
||
|
import "git.tebibyte.media/tomo/tomo/data"
|
||
|
|
||
|
func GeneralizeXDGIconMimeType (mime data.Mime) data.Mime {
|
||
|
// FIXME make this more accurate
|
||
|
// https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
|
||
|
mime.Subtype = "x-generic"
|
||
|
return mime
|
||
|
}
|