
\begin{DoxyItemize}
\item infos = Information about the filecheck plugin is in keys below
\item infos/author = Thomas Waser \href{mailto:thomas.waser@libelektra.org}{\texttt{ thomas.\+waser@libelektra.\+org}}
\item infos/licence = BSD
\item infos/provides =
\item infos/needs =
\item infos/recommends =
\item infos/placements = pregetstorage precommit
\item infos/status = maintained unittest tested libc configurable nodoc
\item infos/metadata =
\item infos/description = validates files (e.\+g. encoding)
\end{DoxyItemize}\hypertarget{md_src_plugins_filecheck_README_src_plugins_filecheck_README_md}{}\doxysection{Introduction}\label{md_src_plugins_filecheck_README_src_plugins_filecheck_README_md}
The filecheck plugin validates files. It tests\+: encoding, lineendings, BOM, printable characters and null bytes.\hypertarget{md_src_plugins_filecheck_README_autotoc_md212}{}\doxysection{Installation}\label{md_src_plugins_filecheck_README_autotoc_md212}
See \mbox{\hyperlink{doc_INSTALL_md}{installation}}. The package is called {\ttfamily libelektra5-\/extra}.\hypertarget{md_src_plugins_filecheck_README_autotoc_md213}{}\doxysection{Configuration}\label{md_src_plugins_filecheck_README_autotoc_md213}
{\ttfamily check/lineending} {\ttfamily valid/lineending} When the {\ttfamily check/lineending} key is present, the plugin checks the file for consistent line endings. If you want to validate for a specific line ending you can supply it with the {\ttfamily valid/lineending} key. Valid values are\+: {\ttfamily CR}, {\ttfamily LF}, {\ttfamily CRLF}, {\ttfamily LFCR}.

{\ttfamily check/encoding} {\ttfamily valid/encoding} When the {\ttfamily check\+Encoding} key is present, the plugin validates the file encoding supplied by the key {\ttfamily encoding}, or, if not present, defaults to {\ttfamily UTF-\/8}

{\ttfamily reject/null} When the {\ttfamily reject/null} key is present, the plugin rejects the file if a NULL-\/\+Byte is found.

{\ttfamily reject/bom} When the {\ttfamily reject/bom} key is present, the plugin rejects the file if any BOM markers are found.

{\ttfamily reject/unprintable} When the {\ttfamily reject/unprintable} key is preset, the plugin rejects the file if an unprintable character is present (except {\ttfamily \textbackslash{}r} and {\ttfamily \textbackslash{}n}). 