\label{doc_decisions_empty_files_md_md_doc_decisions_empty_files}%
\Hypertarget{doc_decisions_empty_files_md_md_doc_decisions_empty_files}%
 \hypertarget{doc_decisions_empty_files_md_autotoc_md1884}{}\doxysection{Problem}\label{doc_decisions_empty_files_md_autotoc_md1884}
An empty Key\+Set is passed to \mbox{\hyperlink{group__kdb_ga11436b058408f83d303ca5e996832bcf}{kdb\+Set()}}. What is the correct persistent representation?\hypertarget{doc_decisions_empty_files_md_autotoc_md1885}{}\doxysection{Constraints}\label{doc_decisions_empty_files_md_autotoc_md1885}
\hypertarget{doc_decisions_empty_files_md_autotoc_md1886}{}\doxysection{Assumptions}\label{doc_decisions_empty_files_md_autotoc_md1886}

\begin{DoxyItemize}
\item User does not want empty files lying around everywhere.
\item User wants to come back to a clean situation using Elektra
\end{DoxyItemize}\hypertarget{doc_decisions_empty_files_md_autotoc_md1887}{}\doxysection{Considered Alternatives}\label{doc_decisions_empty_files_md_autotoc_md1887}

\begin{DoxyItemize}
\item no file, no empty directories
\item keep directories, remove configuration file
\item plugins write minimal, syntactical-\/valid configuration file
\item plugins do whatever they think is correct
\item remember initial situation at mounting time and restore it when empty key is passed (seems inefficient and complicated?)
\end{DoxyItemize}\hypertarget{doc_decisions_empty_files_md_autotoc_md1888}{}\doxysection{Decision}\label{doc_decisions_empty_files_md_autotoc_md1888}
Remove files on empty Key\+Set.\hypertarget{doc_decisions_empty_files_md_autotoc_md1889}{}\doxysection{Rationale}\label{doc_decisions_empty_files_md_autotoc_md1889}

\begin{DoxyItemize}
\item allows user to undo what a previous \mbox{\hyperlink{group__kdb_ga11436b058408f83d303ca5e996832bcf}{kdb\+Set()}} did
\item easy to understand semantics
\item makes storage plugins easier (do not need to remove files)
\end{DoxyItemize}\hypertarget{doc_decisions_empty_files_md_autotoc_md1890}{}\doxysection{Implications}\label{doc_decisions_empty_files_md_autotoc_md1890}

\begin{DoxyItemize}
\item less empty files are left
\item no invalid empty files (yajl bugs)
\end{DoxyItemize}\hypertarget{doc_decisions_empty_files_md_autotoc_md1891}{}\doxysection{Related Decisions}\label{doc_decisions_empty_files_md_autotoc_md1891}
\hypertarget{doc_decisions_empty_files_md_autotoc_md1892}{}\doxysection{Notes}\label{doc_decisions_empty_files_md_autotoc_md1892}
