mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
* Use a proper namespace.
* Optimise header file usage a bit. * Compile the parser as C++.
This commit is contained in:
parent
aab8812732
commit
75068e7d75
61 changed files with 650 additions and 268 deletions
|
@ -1,6 +1,10 @@
|
|||
#include <string>
|
||||
#ifndef __ARCHIVE_H
|
||||
#define __ARCHIVE_H
|
||||
|
||||
#include "util.hh"
|
||||
#include "types.hh"
|
||||
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
||||
/* dumpPath creates a Nix archive of the specified path. The format
|
||||
|
@ -61,3 +65,9 @@ struct RestoreSource
|
|||
};
|
||||
|
||||
void restorePath(const Path & path, RestoreSource & source);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* !__ARCHIVE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue