cvmfs/swissknife_check.cc
bool CommandCheck::Exists(const string &file) {
  if (remote_repository == NULL)
    return FileExists(file);
  else {
    const string url = *remote_repository + "/" + file;
    download::JobInfo head(&url, false);
    return download::Fetch(&head) == download::kFailOk;
  }
}
/**
 * Checks for existance of a file either locally or via HTTP head
 */
Checks for existance of a file either locally or via HTTP head
Checks for existance of a file either locally or via HTTP head
bool CommandCheck::Exists(const string &file) {
  if (remote_repository == NULL)
    return FileExists(file);
  else {
    const string url = *remote_repository + "/" + file;
    download::JobInfo head(&url, false);
    return download::Fetch(&head) == download::kFailOk;
  }
}
bool CommandCheck :: Exists ( const string & file ) { if ( remote_repository == NULL ) return FileExists ( file ) ; else { const string url = * remote_repository + " " + file ; download :: JobInfo head ( & url , false ) ; return download :: Fetch ( & head ) == download :: kFailOk ; } }
Checks for existance of a file either locally or via HTTP head
Checks for existance of a file either locally or via HTTP head