media_unknown

package module
v0.0.0-...-3a0f52d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 2 Imported by: 1

README

❓ media.unknown

Work in Progress Go Report Card GoDoc Release

Overview

media.unknown is a specialized library within the SmartMediaFiles ecosystem. Its purpose is to handle files whose type cannot be determined from their extension. It acts as a fallback for the main @/media library.

Features

  • Fallback Mechanism: Provides the Unknown media type definition for files that do not match any other known media type.
  • Future-proofing: This library could be enhanced with logic to analyze file headers or content to try to identify the file type more accurately.

Installation

go get -u github.com/smartmediafiles/media.unknown

License

This project is licensed under the MIT License - see the LICENSE.md file for details.


⚠️ Note: This README will be updated regularly as the project progresses. Check back often for the latest information!

Documentation

Index

Constants

View Source
const (
	ExtensionUnknown types.FileExtension = ".*"
)

Liste of supported media.Unknown file extensions.

View Source
const (
	Unknown types.FileType = ""
)

List of supported media.Unknown file types.

Variables

View Source
var UnknownFileExtensions = []types.FileExtension{
	ExtensionUnknown,
}

UnknownFileExtensions is a list of supported media.Unknown file extensions.

View Source
var UnknownFileTypes = []types.FileType{
	Unknown,
}

UnknownFileTypes is a list of supported media.Unknown file types.

View Source
var UnknownFileTypesExtensions = maps.MapFileTypeExtensions{
	Unknown: {ExtensionUnknown},
}

UnknownFileTypesExtensions is a map of media.Unknown file types and their extensions.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL