1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

Revert "Get rid of unicode quotes (#1140)"

This reverts commit f78126bfd6. There
really is no need for such a massive change...
This commit is contained in:
Eelco Dolstra 2016-11-26 00:37:43 +01:00
parent f78126bfd6
commit 215b70f51e
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
96 changed files with 670 additions and 670 deletions

View file

@ -75,7 +75,7 @@ struct NarIndexer : ParseSink, StringSource
{
auto i = members.find(path);
if (i == members.end())
throw Error(format("NAR file does not contain path '%1%'") % path);
throw Error(format("NAR file does not contain path %1%") % path);
return i;
}
};
@ -103,7 +103,7 @@ struct NarAccessor : public FSAccessor
auto i = indexer.find(path);
if (i->second.type != FSAccessor::Type::tDirectory)
throw Error(format("path '%1%' inside NAR file is not a directory") % path);
throw Error(format("path %1% inside NAR file is not a directory") % path);
++i;
StringSet res;
@ -120,7 +120,7 @@ struct NarAccessor : public FSAccessor
{
auto i = indexer.find(path);
if (i->second.type != FSAccessor::Type::tRegular)
throw Error(format("path '%1%' inside NAR file is not a regular file") % path);
throw Error(format("path %1% inside NAR file is not a regular file") % path);
return std::string(*nar, i->second.start, i->second.size);
}
@ -128,7 +128,7 @@ struct NarAccessor : public FSAccessor
{
auto i = indexer.find(path);
if (i->second.type != FSAccessor::Type::tSymlink)
throw Error(format("path '%1%' inside NAR file is not a symlink") % path);
throw Error(format("path %1% inside NAR file is not a symlink") % path);
return i->second.target;
}
};