module Jekyll::VersionedFiles
Constants
- COLLECTION_LABEL
- COLLECTION_METADATA
- CONFIG_OPTIONS
- ERROR_MSG
- FORMAT_OPTIONS
- FRONTMATTER
- VERSION
Attributes
collection_dir[RW]
collection_label[RW]
collection_metadata[RW]
config_collection[RW]
config_options[RW]
diff_limit[RW]
files[RW]
format_options[RW]
frontmatter[RW]
Public Class Methods
make_dir(dir)
click to toggle source
# File lib/jekyll/versioned_files.rb, line 54 def self.make_dir(dir) FileUtils.mkdir_p(dir) unless File.directory?(dir) end
merge!(default, new_hash)
click to toggle source
# File lib/jekyll/versioned_files.rb, line 58 def self.merge!(default, new_hash) Jekyll::Utils.deep_merge_hashes!(default, new_hash) end
Private Class Methods
diffignore()
click to toggle source
# File lib/jekyll/versioned_files.rb, line 90 def self.diffignore opts = format_options['diff_ignore'].select{ |k, v| v == true }.keys.join(" --") "--" + opts unless opts.empty? end