retire/catalog.cc
bool relink(const string &from_dir, const string &to_dir) {
    bool result;

    pthread_mutex_lock(&mutex);
    result = relink_unprotected(from_dir, to_dir);
    pthread_mutex_unlock(&mutex);

    return result;
  }
/**
   * Recursively walks through the directory tree in from_dir,
   * removes it and attaches it to to_dir.
   *
   * \return True on success, false otherwise
   */
Recursively walks through the directory tree in from_dir,
removes it and attaches it to to_dir.

\return True on success, false otherwise
Recursively walks through the directory tree in from_dir removes it and attaches it to to_dir . \ return True on success false otherwise
bool relink(const string &from_dir, const string &to_dir) {
    bool result;
    pthread_mutex_lock(&mutex);
    result = relink_unprotected(from_dir, to_dir);
    pthread_mutex_unlock(&mutex);
    return result;
  }
bool relink ( const string & from_dir , const string & to_dir ) { bool result ; pthread_mutex_lock ( & mutex ) ; result = relink_unprotected ( from_dir , to_dir ) ; pthread_mutex_unlock ( & mutex ) ; return result ; }
Recursively walks through the directory tree in from_dir,
 removes it and attaches it to to_dir.
Recursively walks through the directory tree in from_dir removes it and attaches it to to_dir .