Lines Matching refs:volume

131 If the first argument is an empty string "" or is a volume name, i.e. matches
145 volume, which is the closest in concept to Unix' "/". This should help
150 For absolute paths, some cleanup is done, to ensure that the volume
174 by passing either an empty string or a path that begins with a volume
179 of absolute paths. It takes volume, directory and file portions and
182 C<catpath()> to concatenate I<volume names> and I<directory
208 } elsif ($args[0] =~ /^[^:]+:/) { # absolute path, volume name
260 # remove updirs immediately following the volume name
305 To concatenate I<volume names>, I<directory paths> and I<filenames>,
343 returns the name of the startup volume, since that's the closest in
345 trailing ":", because that's the correct specification for a volume
355 # volume is returned, since that's the closest in concept.
369 directory on your startup volume.
442 ($volume,$directories,$file) = File::Spec->splitpath( $path );
443 ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file );
445 Splits a path into volume, directory, and filename portions.
450 The volume portion is always returned with a trailing ":". The directory portion
463 my ($volume,$directory,$file);
466 ( $volume, $directory ) = $path =~ m|^((?:[^:]+:)?)(.*)|s;
474 $volume = $1;
479 $volume = '' unless defined($volume);
480 $directory = ":$directory" if ( $volume && $directory ); # take care of "HD::dir"
490 return ($volume,$directory,$file);
501 that have the concept of a volume or that have path syntax that differentiates
532 my ($head, $sep, $tail, $volume, $directories);
537 ( $volume, $sep, $directories ) = $path =~ m|^((?:[^:]+:)?)(:*)(.*)|s;
540 if ($volume) {
541 push (@result, $volume);
567 $path = File::Spec->catpath($volume,$directory,$file);
569 Takes volume, directory and file portions and returns an entire path. On Mac OS,
570 $volume, $directory and $file are concatenated. A ':' is inserted if need be. You
572 string is returned. If $volume is empty, the result will be a relative path,
573 beginning with a ':'. If $volume and $directory are empty, a leading ":" (if any)
581 my ($self,$volume,$directory,$file) = @_;
583 if ( (! $volume) && (! $directory) ) {
588 # We look for a volume in $volume, then in $directory, but not both
592 $volume = $dir_volume unless length $volume;
593 my $path = $volume; # may be ''
597 $directory = $dir_dirs if $volume;
628 $path. Note that previous versions of this module ignored the volume
743 # igonore $path's volume