| 1 | # Copyright (c) 2014, cPanel, Inc. | ||
| 2 | # All rights reserved. | ||
| 3 | # http://cpanel.net/ | ||
| 4 | # | ||
| 5 | # This is free software; you can redistribute it and/or modify it under the same | ||
| 6 | # terms as Perl itself. See the LICENSE file for further details. | ||
| 7 | |||
| 8 | package Filesys::POSIX::Directory::Handle; | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Filesys::POSIX::Directory::Handle - Basic placeholder for directory file handles | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | This class provides a basic stub that allows for the return of a file handle | ||
| 17 | object based on a directory. These are only meant to be used internally by | ||
| 18 | L<Filesys::POSIX::IO> and currently perform no functions of their own. | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | 2 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 23 | 2 | my ($class) = @_; | |
| 24 | |||
| 25 | 2 | return bless {}, $class; | |
| 26 | } | ||
| 27 | |||
| 28 | 0 | ▶ | sub open { |
|
Subroutine
open: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 29 | 0 | my ($self) = @_; | |
| 30 | |||
| 31 | 0 | return $self; | |
| 32 | } | ||
| 33 | |||
| 34 | 1 | ▶ | sub close { |
|
Subroutine
close: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 35 | 1 | return; | |
| 36 | } | ||
| 37 | |||
| 38 | 27 | 1; | |
| 39 | |||
| 40 | __END__ | ||