{"id":16670380,"url":"https://github.com/ferki/rex-hook-file-impostor","last_synced_at":"2026-04-27T14:02:49.100Z","repository":{"id":49206909,"uuid":"298209297","full_name":"ferki/Rex-Hook-File-Impostor","owner":"ferki","description":"execute Rex file management commands on a copy of the managed path","archived":false,"fork":false,"pushed_at":"2024-08-17T14:40:19.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T17:26:42.386Z","etag":null,"topics":["rex"],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/Rex-Hook-File-Impostor","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ferki.png","metadata":{"files":{"readme":"README.pod","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-24T07:59:48.000Z","updated_at":"2024-08-17T14:40:23.000Z","dependencies_parsed_at":"2024-08-17T15:45:40.715Z","dependency_job_id":null,"html_url":"https://github.com/ferki/Rex-Hook-File-Impostor","commit_stats":{"total_commits":60,"total_committers":1,"mean_commits":60.0,"dds":0.0,"last_synced_commit":"1cfe2b5c0df8a1205b3875d865a3650e601833d8"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferki%2FRex-Hook-File-Impostor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferki%2FRex-Hook-File-Impostor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferki%2FRex-Hook-File-Impostor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferki%2FRex-Hook-File-Impostor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferki","download_url":"https://codeload.github.com/ferki/Rex-Hook-File-Impostor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318778,"owners_count":20272136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rex"],"created_at":"2024-10-12T11:38:16.313Z","updated_at":"2026-04-27T14:02:49.093Z","avatar_url":"https://github.com/ferki.png","language":"Perl","funding_links":["https://github.com/sponsors/ferki"],"categories":[],"sub_categories":[],"readme":"=pod\n\n=encoding UTF-8\n\n=for :stopwords Ferenc Erki CPAN sponsorware\n\n=head1 NAME\n\nRex::Hook::File::Impostor - execute Rex file management commands on a copy of the managed path\n\n=head1 VERSION\n\nversion v0.2.0\n\n=head1 SYNOPSIS\n\n    use Rex::Hook::File::Impostor;\n\n=head1 DESCRIPTION\n\nThis module makes L\u003cRex|https://metacpan.org/pod/Rex\u003e execute file management commands on a copy of the managed path instead of the original one.\n\nThis could be particularly useful when it is loaded conditionally to be combined with other modules. For example together with L\u003cRex::Hook::File::Diff|https://metacpan.org/pod/Rex::Hook::File::Diff\u003e, it could be used to show a diff of file changes without actually changing the original file contents.\n\nIt works by installing a L\u003cbefore hook|https://metacpan.org/pod/Rex::Commands::File#Hooks\u003e for file commands, which makes a copy of the original file into a temporary directory, and then overrides the original arguments of the L\u003cfile commands|https://metacpan.org/pod/Rex::Commands::File#file\u003e.\n\n=head1 DIAGNOSTICS\n\nThis module does not do any error checking (yet).\n\n=head1 CONFIGURATION AND ENVIRONMENT\n\nIt uses the same temporary directory that is used by Rex. Therefore it can be configured with L\u003cset_tmp_dir|https://metacpan.org/pod/Rex::Config#set_tmp_dir\u003e:\n\n    Rex::Config-\u003eset_tmp_dir($tmp_dir);\n\nThis module does not use any environment variables.\n\n=head1 DEPENDENCIES\n\nSee the included C\u003ccpanfile\u003e.\n\n=head1 INCOMPATIBILITIES\n\nThere are no known incompatibilities with other modules.\n\n=head1 BUGS AND LIMITATIONS\n\nThere are no known bugs. Make sure they are reported.\n\n=head1 AUTHOR\n\nFerenc Erki \u003cerkiferenc@gmail.com\u003e\n\n=head1 COPYRIGHT AND LICENSE\n\nThis software is Copyright (c) 2020-2022,2024,2026 by Ferenc Erki.\n\nThis is free software, licensed under:\n\n  The GNU Lesser General Public License, Version 3, June 2007\n\nEarly versions of this software were L\u003csponsorware|https://github.com/sponsorware/docs\u003e. Thanks to L\u003cGitHub sponsors|https://github.com/sponsors/ferki\u003e, it is now available to everyone!\n\n=cut\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferki%2Frex-hook-file-impostor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferki%2Frex-hook-file-impostor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferki%2Frex-hook-file-impostor/lists"}