文件操作 - instance_writer.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/serialization/instance_writer.rb
编辑文件内容
# frozen_string_literal: true module Puppet::Pops module Serialization # An instance writer is responsible for writing complex objects using a {Serializer} # @api private module InstanceWriter # @param [Types::PObjectType] type the type of instance to write # @param [Object] value the instance # @param [Serializer] serializer the serializer that will receive the written instance def write(type, value, serializer) Serialization.not_implemented(self, 'write') end end end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件