filetype/types

    Dark Mode
Search:
Group by:

Types

FileType = object
  mime*: Mime
  extension*: string         ## File extension. (ex: `zip`)
  
Mime = object
  typ*: string               ## Ex: `application` of `application/gzip`.
  subType*: string           ## Ex: `gzip` of `application/gzip`.
  value*: string             ## Ex: `application/gzip` of `application/gzip`.
  
MIME type.

Funcs

func newFileType(mime, ext: string): FileType {...}{.raises: [], tags: [].}