The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SVN::Simple::Path_Change - A class for easier manipulation of Subversion path changes

VERSION

version 0.210

SYNOPSIS

    use SVN::Simple::Path_Change;
    use SVN::Core;
    use SVN::Fs;
    use SVN::Repos;

    my $repos = SVN::Repos::open('/path/to/svn/repos');
    my $fs = $repos->fs;
    my %paths_changed = %{$fs->revision_root($fs->youngest_rev)->paths_changed};

    my @path_changes  = map {
        SVN::Simple::Path_Change->new(
            path       => $_,
            svn_change => $paths_changed{$_},
    ) } keys %paths_changed;

DESCRIPTION

This is a simple class that wraps a Subversion path change object along with the path it describes.

ATTRIBUTES

svn_change

The _p_svn_fs_path_change_t object as returned from the $root->paths_changed() method.

path

Either a Path::Class::Dir or Path::Class::File representing the changed entity.

METHODS

All the methods supported by _p_svn_fs_path_change_t are delegated by and act on the "svn_change" attribute.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/mjgardner/svn-simple-hook/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Mark Gardner <mjgardner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by GSI Commerce.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.