logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Alien::Build::Plugin::Fetch::Local - Plugin for fetching a local file

Author

       Author: Graham Ollis <plicease@cpan.org>

       Contributors:

       Diab Jerius (DJERIUS)

       Roy Storey (KIWIROY)

       Ilya Pavlov

       David Mertens (run4flat)

       Mark Nunberg (mordy, mnunberg)

       Christian Walde (Mithaldu)

       Brian Wightman (MidLifeXis)

       Zaki Mughal (zmughal)

       mohawk (mohawk2, ETJ)

       Vikas N Kumar (vikasnkumar)

       Flavio Poletti (polettix)

       Salvador Fandiño (salva)

       Gianni Ceccarelli (dakkar)

       Pavel Shaydo (zwon, trinitum)

       Kang-min Liu (劉康民, gugod)

       Nicholas Shipp (nshp)

       Juan Julián Merelo Guervós (JJ)

       Joel Berger (JBERGER)

       Petr Písař (ppisar)

       Lance Wicks (LANCEW)

       Ahmad Fatoum (a3f, ATHREEF)

       José Joaquín Atria (JJATRIA)

       Duke Leto (LETO)

       Shoichi Kaji (SKAJI)

       Shawn Laffan (SLAFFAN)

       Paul Evans (leonerd, PEVANS)

       Håkon Hægland (hakonhagland, HAKONH)

       nick nauwelaerts (INPHOBIA)

       Florian Weimer

Description

       Note: in most case you will want to use Alien::Build::Plugin::Download::Negotiate instead.  It picks the
       appropriate fetch plugin based on your platform and environment.  In some cases you may need to use this
       plugin directly instead.

       This fetch plugin fetches files from the local file system.  It is mostly useful if you intend to bundle
       packages (as tarballs or zip files) with your Alien.  If you intend to bundle a source tree, use
       Alien::Build::Plugin::Fetch::LocalDir.

Name

       Alien::Build::Plugin::Fetch::Local - Plugin for fetching a local file

Properties

url
       The initial URL to fetch.  This may be a "file://" style URL, or just the path on the local system.

   root
       The directory from which the URL should be relative.  The default is usually reasonable.

   ssl
       This property is for compatibility with other fetch plugins, but is not used.

See Also

       Alien::Build::Plugin::Download::Negotiate
       Alien::Build::Plugin::Fetch::LocalDir
       Alien::Build
       alienfile
       Alien::Build::MM
       Alien

Synopsis

        use alienfile;
        share {
          start_url 'patch/libfoo-1.00.tar.gz';
          plugin 'Fetch::Local';
        };

Version

       version 2.84

See Also