Changeset 18 for trunk/lib/Node.cc


Ignore:
Timestamp:
Dec 30, 2005, 6:41:33 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Directory tree created. Use purge() to remove non subversion controlled entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r16 r18  
    3737  }
    3838
    39  
     39
     40  bool Node::subversion_controlled(void) const {
     41    std::string system_call = "svn proplist " + path_ + ">&/dev/null";
     42    return !system(system_call.c_str());
     43  }
     44
    4045}} // end of namespace svnstat and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.