$67 GRAYBYTE WORDPRESS FILE MANAGER $85

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/rubygems/package/

HOME
Current File : /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/rubygems/package//file_source.rb
# frozen_string_literal: true
##
# The primary source of gems is a file on disk, including all usages
# internal to rubygems.
#
# This is a private class, do not depend on it directly. Instead, pass a path
# object to `Gem::Package.new`.

class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all

  attr_reader :path

  def initialize(path)
    @path = path
  end

  def start
    @start ||= File.read path, 20
  end

  def present?
    File.exist? path
  end

  def with_write_io(&block)
    File.open path, 'wb', &block
  end

  def with_read_io(&block)
    File.open path, 'rb', &block
  end

end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.21 AM
root / root
0755
tar_reader
--
21 Mar 2024 10.21 AM
root / root
0755
digest_io.rb
1.333 KB
30 Mar 2023 12.34 PM
root / root
0644
file_source.rb
0.597 KB
30 Mar 2023 12.34 PM
root / root
0644
io_source.rb
0.751 KB
30 Mar 2023 12.34 PM
root / root
0644
old.rb
3.629 KB
30 Mar 2023 12.34 PM
root / root
0644
source.rb
0.069 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_header.rb
5.911 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_reader.rb
2.379 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_test_case.rb
3.648 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_writer.rb
7.539 KB
30 Mar 2023 12.34 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF