Ignore:
Timestamp:
2009-06-12T23:43:51+12:00 (15 years ago)
Author:
davidb
Message:

doc.pm API extended to include call for finding out the original source filename (rather than the one where the rename_method has been applied). Useful for incremental building, and probably other things too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/doc.pm

    r19617 r19829  
    182182
    183183# returns the source_filename as it was provided
     184sub get_unmodified_source_filename {
     185    my $self = shift (@_);
     186
     187    return $self->{'source_path'};
     188}
     189
     190# returns the source_filename with whatever rename_method was given
    184191sub get_source_filename {
    185192    my $self = shift (@_);
     
    187194    return $self->get_metadata_element ($self->get_top_section(), "gsdlsourcefilename");
    188195}
     196
     197
    189198
    190199# returns converted filename if available else returns source filename
Note: See TracChangeset for help on using the changeset viewer.