Sha256: bce367d17117ae21b5bb3a45c714087babc5bb3e2c9e3425b4c6bc47ef8d5e64
Contents?: true
Size: 915 Bytes
Versions: 32
Compression:
Stored size: 915 Bytes
Contents
module Steep module Services class FileLoader attr_reader base_dir: Pathname def initialize: (base_dir: Pathname) -> void # Yields relative paths included in `pattern` from `base_dir` # def each_path_in_patterns: (Project::Pattern pattern, ?Array[String] commandline_patterns) { (Pathname) -> void } -> void | (Project::Pattern pattern, ?Array[String] commandline_patterns) -> Enumerator[Pathname, void] # Returns changes that represents loading files from file system merged with ones given as `changes:` # # ``` # changes = loader.load_changes(target.pattern, command_line_patterns, changes: changes_from_editor) # ``` def load_changes: (Project::Pattern pattern, ?Array[String] command_line_patterns, changes: Hash[Pathname, Array[ContentChange]]) -> Hash[Pathname, Array[ContentChange]] end end end
Version data entries
32 entries across 32 versions & 1 rubygems