cvmfs/swissknife_info.cc
static bool Exists(const string &repository, const string &file) {
  if (IsRemote(repository)) {
    const string url = repository + "/" + file;
    download::JobInfo head(&url, false);
    return download::Fetch(&head) == download::kFailOk;
  } else {
    return FileExists(file);
  }
}
/**
 * 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
static bool Exists(const string &repository, const string &file) {
  if (IsRemote(repository)) {
    const string url = repository + "/" + file;
    download::JobInfo head(&url, false);
    return download::Fetch(&head) == download::kFailOk;
  } else {
    return FileExists(file);
  }
}
static bool Exists ( const string & repository , const string & file ) { if ( IsRemote ( repository ) ) { const string url = repository + " " + file ; download :: JobInfo head ( & url , false ) ; return download :: Fetch ( & head ) == download :: kFailOk ; } else { return FileExists ( file ) ; } }
Checks for existance of a file either locally or via HTTP head
Checks for existance of a file either locally or via HTTP head