1Specio::Library::Path::UTsienry(C3o)ntributed Perl DocumSepnetcaitoi:o:nLibrary::Path::Tiny(3)
2
3
4

NAME

6       Specio::Library::Path::Tiny - Path::Tiny types and coercions for Specio
7

VERSION

9       version 0.05
10

SYNOPSIS

12         use Specio::Library::Path::Tiny;
13
14         has path => ( isa => t('Path') );
15

DESCRIPTION

17       This library provides a set of Path::Tiny types and coercions for
18       Specio.  These types can be used with Moose, Moo,
19       Params::ValidationCompiler, and other modules.
20

TYPES

22       This library provides the following types:
23
24   Path
25       A Path::Tiny object.
26
27       Will be coerced from a string or arrayref via "Path::Tiny::path".
28
29   AbsPath
30       A Path::Tiny object where "$path->is_absolute" returns true.
31
32       Will be coerced from a string or arrayref via "Path::Tiny::path"
33       followed by call to "$path->absolute".
34
35   RealPath
36       A Path::Tiny object where "$path->realpath eq $path".
37
38       Will be coerced from a string or arrayref via "Path::Tiny::path"
39       followed by call to "$path->realpath".
40
41   File
42       A Path::Tiny object which is a file on disk according to
43       "$path->is_file".
44
45       Will be coerced from a string or arrayref via "Path::Tiny::path".
46
47   AbsFile
48       A Path::Tiny object which is a file on disk according to
49       "$path->is_file" where "$path->is_absolute" returns true.
50
51       Will be coerced from a string or arrayref via "Path::Tiny::path"
52       followed by call to "$path->absolute".
53
54   RealFile
55       A Path::Tiny object which is a file on disk according to
56       "$path->is_file" where "$path->realpath eq $path".
57
58       Will be coerced from a string or arrayref via "Path::Tiny::path"
59       followed by call to "$path->realpath".
60
61   Dir
62       A Path::Tiny object which is a directory on disk according to
63       "$path->is_dir".
64
65       Will be coerced from a string or arrayref via "Path::Tiny::path".
66
67   AbsDir
68       A Path::Tiny object which is a directory on disk according to
69       "$path->is_dir" where "$path->is_absolute" returns true.
70
71       Will be coerced from a string or arrayref via "Path::Tiny::path"
72       followed by call to "$path->absolute".
73
74   RealDir
75       A Path::Tiny object which is a directory on disk according to
76       "$path->is_dir" where "$path->realpath eq $path".
77
78       Will be coerced from a string or arrayref via "Path::Tiny::path"
79       followed by call to "$path->realpath".
80

CREDITS

82       The vast majority of the code in this distribution comes from David
83       Golden's Types::Path::Tiny distribution.
84

SUPPORT

86       Bugs may be submitted at
87       <https://github.com/houseabsolute/Specio-Library-Path-Tiny/issues>.
88

SOURCE

90       The source code repository for Specio-Library-Path-Tiny can be found at
91       <https://github.com/houseabsolute/Specio-Library-Path-Tiny>.
92

DONATIONS

94       If you'd like to thank me for the work I've done on this module, please
95       consider making a "donation" to me via PayPal. I spend a lot of free
96       time creating free software, and would appreciate any support you'd
97       care to offer.
98
99       Please note that I am not suggesting that you must do this in order for
100       me to continue working on this particular software. I will continue to
101       do so, inasmuch as I have in the past, for as long as it interests me.
102
103       Similarly, a donation made in this way will probably not make me work
104       on this software much more, unless I get so many donations that I can
105       consider working on free software full time (let's all have a chuckle
106       at that together).
107
108       To donate, log into PayPal and send money to autarch@urth.org, or use
109       the button at <https://www.urth.org/fs-donation.html>.
110

AUTHOR

112       Dave Rolsky <autarch@urth.org>
113

CONTRIBUTOR

115       Paulo Custodio <pauloscustodio@gmail.com>
116
118       This software is Copyright (c) 2016 - 2022 by Dave Rolsky.
119
120       This is free software, licensed under:
121
122         The Apache License, Version 2.0, January 2004
123
124       The full text of the license can be found in the LICENSE file included
125       with this distribution.
126
127
128
129perl v5.36.0                      2022-07-22    Specio::Library::Path::Tiny(3)
Impressum