Skip to content

Commit

Permalink
Remove IO::FileTestable
Browse files Browse the repository at this point in the history
This addresses issue #97.
  • Loading branch information
Paul Cochrane committed Jul 24, 2015
1 parent fdb37eb commit 2502d2d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 141 deletions.
5 changes: 2 additions & 3 deletions lib/Language/io.pod
Expand Up @@ -6,9 +6,8 @@
Here we present a quick overview of the file-related input/output
operations, detailed documentation can be found in the documentation for the
L<IO|/type/IO> role, as well as the L<IO::Handle|/type/IO::Handle>,
L<IO::Path|/type/IO::Path>, and L<IO::FileTestable|/type/IO::FileTestable>
types.
L<IO|/type/IO> role, as well as the L<IO::Handle|/type/IO::Handle> and
L<IO::Path|/type/IO::Path> types.
=head1 Reading from files
Expand Down
3 changes: 1 addition & 2 deletions lib/Type/IO.pod
Expand Up @@ -332,8 +332,7 @@ output.
=head1 Related classes
See also the related classes L<IO::FileTestable>, L<IO::Handle> and
L<IO::Path>.
See also the related classes L<IO::Handle> and L<IO::Path>.
=end pod

Expand Down
128 changes: 0 additions & 128 deletions lib/Type/IO/FileTestable.pod

This file was deleted.

5 changes: 2 additions & 3 deletions lib/Type/IO/Handle.pod
Expand Up @@ -4,7 +4,7 @@
=SUBTITLE Opened file or stream
class IO::Handle does IO::FileTestable { }
class IO::Handle does IO { }
=head1 Methods
Expand Down Expand Up @@ -81,8 +81,7 @@ Will close a previously opened filehandle.
=head1 Related roles and classes
See also the related role L<IO> and the related classes L<IO::FileTestable>
and L<IO::Path>.
See also the related role L<IO> and the related class L<IO::Path>.
=end pod

Expand Down
8 changes: 4 additions & 4 deletions lib/Type/IO/Path.pod
Expand Up @@ -4,7 +4,7 @@
=SUBTITLE File or directory path
class IO::Path is Cool does IO::FileTestable { }
class IO::Path is Cool does IO { }
Built-in class for file and directory paths.
Expand Down Expand Up @@ -326,9 +326,9 @@ C<:e> and C<:f>.
X<-M> X<-A> X<-C>
The C<-M>, C<-A> and C<-C> file test operators do not exist in Perl 6, use
instead the L<modified|/type/IO::FileTestable#method_modified>,
L<accessed|/type/IO::FileTestable#method_accessed> and
L<changed|/type/IO::FileTestable#method_changed> methods instead.
instead the L<modified|/type/IO::Path#method_modified>,
L<accessed|/type/IO::Path#method_accessed> and
L<changed|/type/IO::Path#method_changed> methods instead.
X<:e> X<:d> X<:f> X<:l> X<:r> X<:w> X<:x> X<:s> X<:z>
Expand Down
1 change: 0 additions & 1 deletion type-graph.txt
Expand Up @@ -121,7 +121,6 @@ class Instant is Cool does Real
[Domain-specific]
# IO
role IO
role IO::FileTestable does IO
role IO::Special
class IO::Handle does IO
class IO::Pipe is IO::Handle
Expand Down

0 comments on commit 2502d2d

Please sign in to comment.