Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
print-elided.hh File Reference
#include <ostream>
Include dependency graph for print-elided.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void nix::printElided (std::ostream &output, unsigned int value, const std::string_view single, const std::string_view plural, bool ansiColors)
 

Function Documentation

◆ printElided()

void nix::printElided ( std::ostream & output,
unsigned int value,
const std::string_view single,
const std::string_view plural,
bool ansiColors )

Print an «... elided» placeholder.

Arguments are forwarded to pluralize.

If ansiColors is set, the output will be wrapped in ANSI_FAINT.