Lines Matching full:sha1
46 // Parse arguments (which should be of the form "<sha1>" or
47 // "<sha1>:<filename>" into the new parallel arrays *sha1s and
68 printf("failed to parse sha1 \"%s\"\n", argv[i]);
144 // - if the sha1 hash of <tgt-file> is <tgt-sha1>, does nothing and exits
147 // - otherwise, if the sha1 hash of <src-file> is <src-sha1>, applies the
150 // file has sha1 hash <tgt-sha1>, moves it to replace <tgt-file>, and
166 "usage: %s <src-file> <tgt-file> <tgt-sha1> <tgt-size> "
167 "[<src-sha1>:<patch> ...]\n"
168 " or %s -c <file> [<sha1> ...]\n"