Changeset 100 for trunk/lib/File.cc


Ignore:
Timestamp:
Jun 19, 2006, 11:53:16 AM (15 years ago)
Author:
Peter Johansson
Message:

closes #9 and move create function from svnstat.cc to lib/utility and also move rmdirhier to lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r84 r100  
    3636namespace svnstat{
    3737
     38  std::string File::html_link(void) const
     39  {
     40    return "<a href=\"" + name() + ".html\">" + name() + "</a>";
     41  }
     42
     43
    3844  const Stats& File::parse(const bool verbose)
    3945  {
     
    5864    std::ofstream os(output.c_str());
    5965    print_header(os);
    60     os << "<p align=center>\n<img src='" << stats_.plot(output_name()+".png")
     66    os << "<p align=center>\n<img src='"
     67       << file_name(stats_.plot(output_name_+".png"))
    6168       << "' alt='[plot]' border=0>\n</p>";
    6269    print_footer(os);
Note: See TracChangeset for help on using the changeset viewer.