#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/indexfile.h>
#include <apt-pkg/metaindex.h>
+#include <apt-pkg/hashes.h>
#include <apti18n.h>
#include <apt-private/private-show.h>
#include <apt-private/private-main.h>
#include <apt-private/private-utils.h>
+#include <apt-private/private-sources.h>
/*}}}*/
-// EditSource - EditSourcesList /*{{{*/
-// ---------------------------------------------------------------------
-bool EditSources(CommandLine &CmdL)
-{
- // FIXME: suport CmdL.FileList to specify sources.list.d files
-
- std::string sourceslist = _config->FindFile("Dir::Etc::sourcelist");
-
- // FIXME: take hash before,
- // when changed display message to apt update
- // do syntax check after save (like visudo)
-
- EditFileInSensibleEditor(sourceslist);
-
- return true;
-}
- /*}}}*/
bool ShowHelp(CommandLine &CmdL)