You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

8 years ago
% Generated by roxygen2: do not edit by hand
6 years ago
% Please edit documentation in R/wand-package.R
8 years ago
\docType{package}
\name{wand}
\alias{wand}
\alias{wand-package}
\title{Retrieve 'Magic' Attributes from Files and Directories}
\description{
8 years ago
The 'libmagic' library provides functions to determine 'MIME' type and other
metadata from files through their "magic" attributes. This is useful when you
do not wish to rely solely on the honesty of a user or the extension on a
file name. It also incorporates other metadata from the mime-db database
\url{https://github.com/jshttp/mime-db}
8 years ago
}
\section{Some important details}{
The header checking is minimal (i.e. nowhere near as comprehensive as \code{libmagic}) but
covers quite a bit of ground. If there are content-check types from
\href{https://github.com/threatstack/libmagic/tree/master/magic/}{magic sources}
that you would like coded into the package, please file an issue and
\emph{include the full line(s)} from that linked \code{magic.tab} that you would like mapped.
8 years ago
}
8 years ago
\author{
Bob Rudis (bob@rud.is)
8 years ago
}