Changeset 198 for trunk/lib/Directory.cc


Ignore:
Timestamp:
Sep 9, 2006, 12:04:27 PM (15 years ago)
Author:
Peter Johansson
Message:

refs #36 optionally a copyright information, based on Stats, can be displayed using --copyright flag. This will flag will be added to usage output when this feature is mature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r185 r198  
    179179  }
    180180
     181
     182  void Directory::print_copyright(const std::vector<std::string>& dates) const
     183  {
     184    if (!ignore()){
     185      // print daughter nodes, i.e, this function is recursive
     186      for (NodeConstIterator i = daughters_.begin(); i!=daughters_.end(); ++i)
     187        (*i)->print_copyright(dates);
     188    }
     189  }
     190
    181191}} // end of namespace svndigest and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.