文件操作 - source_list.rbs
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/core/rubygems/source_list.rbs
编辑文件内容
# <!-- rdoc-file=lib/rubygems/source_list.rb --> # The SourceList represents the sources rubygems has been configured to use. A # source may be created from an array of sources: # # Gem::SourceList.from %w[https://rubygems.example https://internal.example] # # Or by adding them: # # sources = Gem::SourceList.new # sources << 'https://rubygems.example' # # The most common way to get a SourceList is Gem.sources. # class Gem::SourceList end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件