File: content-types.md

package info (click to toggle)
glib2.0 2.84.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 66,144 kB
  • sloc: ansic: 538,877; python: 9,624; sh: 1,572; xml: 1,482; perl: 1,222; cpp: 535; makefile: 316; javascript: 11
file content (15 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Title: Content Types
SPDX-License-Identifier: LGPL-2.1-or-later
SPDX-FileCopyrightText: 2006, 2007 Red Hat, Inc.
SPDX-FileCopyrightText: 2007 Alexander Larsson

# Content Types

A content type is a platform specific string that defines the type of a file.
On UNIX it is a [MIME type](http://www.wikipedia.org/wiki/Internet_media_type)
like `text/plain` or `image/png`.
On Win32 it is an extension string like `.doc`, `.txt` or a perceived
string like `audio`. Such strings can be looked up in the registry at
`HKEY_CLASSES_ROOT`.
On macOS it is a [Uniform Type Identifier](https://en.wikipedia.org/wiki/Uniform_Type_Identifier)
such as `com.apple.application`.