aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
ModeNameSize
d---------examples270logplain
-rw-r--r--file-systems.scm18321logplainabout
-rw-r--r--install.scm19564logplainabout
-rw-r--r--linux-container.scm4273logplainabout
-rw-r--r--linux-initrd.scm13892logplainabout
-rw-r--r--locale.scm7866logplainabout
-rw-r--r--mapped-devices.scm10958logplainabout
-rw-r--r--nss.scm8241logplainabout
-rw-r--r--pam.scm14254logplainabout
-rw-r--r--shadow.scm14926logplainabout
-rw-r--r--uuid.scm11102logplainabout
-rw-r--r--vm.scm42856logplainabout
have the form `HASH-bla'). */ foreach (PathSet::const_iterator, i, refs) { string baseName = baseNameOf(*i); string::size_type pos = baseName.find('-'); if (pos == string::npos) throw Error(format("bad reference `%1%'") % *i); string s = string(baseName, 0, pos); assert(s.size() == refLength); assert(backMap.find(s) == backMap.end()); // parseHash(htSHA256, s); sink.hashes.insert(s); backMap[s] = *i; } /* Look for the hashes in the NAR dump of the path. */ dumpPath(path, sink); /* Map the hashes found back to their store paths. */ PathSet found; foreach (StringSet::iterator, i, sink.seen) { std::map<string, Path>::iterator j; if ((j = backMap.find(*i)) == backMap.end()) abort(); found.insert(j->second); } hash = sink.hashSink.finish(); return found; } }