mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Remove duplicate comments on DerivationBuilderImpl overriden methods
Having the exact same doc comments isn't very useful/maintainable.
This commit is contained in:
parent
69914e4b3c
commit
93ae95be83
1 changed files with 0 additions and 31 deletions
|
@ -256,30 +256,10 @@ private:
|
|||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Set up build environment / sandbox, acquiring resources (e.g.
|
||||
* locks as needed). After this is run, the builder should be
|
||||
* started.
|
||||
*
|
||||
* @returns true if successful, false if we could not acquire a build
|
||||
* user. In that case, the caller must wait and then try again.
|
||||
*/
|
||||
bool prepareBuild() override;
|
||||
|
||||
/**
|
||||
* Start building a derivation.
|
||||
*/
|
||||
void startBuilder() override;
|
||||
|
||||
/**
|
||||
* Tear down build environment after the builder exits (either on
|
||||
* its own or if it is killed).
|
||||
*
|
||||
* @returns The first case indicates failure during output
|
||||
* processing. A status code and exception are returned, providing
|
||||
* more information. The second case indicates success, and
|
||||
* realisations for each output of the derivation are returned.
|
||||
*/
|
||||
std::variant<std::pair<BuildResult::Status, Error>, SingleDrvOutputs> unprepareBuild() override;
|
||||
|
||||
private:
|
||||
|
@ -311,10 +291,6 @@ private:
|
|||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Stop the in-process nix daemon thread.
|
||||
* @see startDaemon
|
||||
*/
|
||||
void stopDaemon() override;
|
||||
|
||||
private:
|
||||
|
@ -346,15 +322,8 @@ private:
|
|||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Delete the temporary directory, if we have one.
|
||||
*/
|
||||
void deleteTmpDir(bool force) override;
|
||||
|
||||
/**
|
||||
* Kill any processes running under the build user UID or in the
|
||||
* cgroup of the build.
|
||||
*/
|
||||
void killSandbox(bool getStats) override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue