NAME

XT::Files::Plugin::Default - plugin with default configuration

VERSION

Version 0.001

SYNOPSIS

In the XT::Files config file:

[Default]
dirs = 1
excludes = 1

DESCRIPTION

This plugin contains the default configuration for XT::Files. If no configuration file is present for XT::Files, this plugin is loaded. The plugin can also be loaded from the config file to extend upon its config.

The default configuration configures the following exclude regexes

[.]swp$
[.]bak$
~$

and adds files from the following directories

bin
script
lib

The bin and script directory are processed as type bin directory and lib as type module.

The dirs and the excludes arguments can be used to disable the configuration of the default excludes or directories. This can be useful if you use your own XT::Files config file but want to only use one of the two defaults.

USAGE

new

Inherited from XT::Files::Plugin.

run

The run method should not be run directly. Use the plugin call from XT::Files

SEE ALSO

XT::Files, XT::Files::Plugin::Dirs, XT::Files::Plugin::Excludes

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/skirmess/XT-Files/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/skirmess/XT-Files

git clone https://github.com/skirmess/XT-Files.git

AUTHOR

Sven Kirmess <sven.kirmess@kzone.ch>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2019 by Sven Kirmess.

This is free software, licensed under:

The (two-clause) FreeBSD License