├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── config.yml ├── SUPPORT.md └── workflows │ ├── ci.yml │ ├── repo-sync-preview.yml │ └── rubocop.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── Gemfile.devtools ├── LICENSE ├── README.md ├── Rakefile ├── docsite └── source │ ├── adapters.html.md │ ├── error-handling.html.md │ ├── file-system-utilities.html.md │ ├── index.html.md │ └── ruby-file-manipulation.html.md ├── dry-files.gemspec ├── gemspec ├── lib ├── dry-files.rb └── dry │ ├── files.rb │ └── files │ ├── adapter.rb │ ├── error.rb │ ├── file_system.rb │ ├── memory_file_system.rb │ ├── memory_file_system │ └── node.rb │ ├── path.rb │ └── version.rb ├── repo-sync.yml └── spec ├── integration └── dry │ └── files_spec.rb ├── spec_helper.rb ├── support ├── coverage.rb ├── matchers.rb ├── os.rb ├── rspec.rb ├── ruby_engine.rb └── warnings.rb └── unit └── dry └── files ├── adapter_spec.rb ├── error_spec.rb ├── file_system_spec.rb ├── memory_file_system └── node_spec.rb ├── memory_file_system_spec.rb └── path_spec.rb /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: hanami 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/repo-sync-preview.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.github/workflows/repo-sync-preview.yml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.github/workflows/rubocop.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.devtools: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/Gemfile.devtools -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/Rakefile -------------------------------------------------------------------------------- /docsite/source/adapters.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/docsite/source/adapters.html.md -------------------------------------------------------------------------------- /docsite/source/error-handling.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/docsite/source/error-handling.html.md -------------------------------------------------------------------------------- /docsite/source/file-system-utilities.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/docsite/source/file-system-utilities.html.md -------------------------------------------------------------------------------- /docsite/source/index.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/docsite/source/index.html.md -------------------------------------------------------------------------------- /docsite/source/ruby-file-manipulation.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/docsite/source/ruby-file-manipulation.html.md -------------------------------------------------------------------------------- /dry-files.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/dry-files.gemspec -------------------------------------------------------------------------------- /gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/gemspec -------------------------------------------------------------------------------- /lib/dry-files.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "dry/files" 4 | -------------------------------------------------------------------------------- /lib/dry/files.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files.rb -------------------------------------------------------------------------------- /lib/dry/files/adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/adapter.rb -------------------------------------------------------------------------------- /lib/dry/files/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/error.rb -------------------------------------------------------------------------------- /lib/dry/files/file_system.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/file_system.rb -------------------------------------------------------------------------------- /lib/dry/files/memory_file_system.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/memory_file_system.rb -------------------------------------------------------------------------------- /lib/dry/files/memory_file_system/node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/memory_file_system/node.rb -------------------------------------------------------------------------------- /lib/dry/files/path.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/path.rb -------------------------------------------------------------------------------- /lib/dry/files/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/lib/dry/files/version.rb -------------------------------------------------------------------------------- /repo-sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/repo-sync.yml -------------------------------------------------------------------------------- /spec/integration/dry/files_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/integration/dry/files_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/coverage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/support/coverage.rb -------------------------------------------------------------------------------- /spec/support/matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/support/matchers.rb -------------------------------------------------------------------------------- /spec/support/os.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/support/os.rb -------------------------------------------------------------------------------- /spec/support/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/support/rspec.rb -------------------------------------------------------------------------------- /spec/support/ruby_engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/support/ruby_engine.rb -------------------------------------------------------------------------------- /spec/support/warnings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/support/warnings.rb -------------------------------------------------------------------------------- /spec/unit/dry/files/adapter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/unit/dry/files/adapter_spec.rb -------------------------------------------------------------------------------- /spec/unit/dry/files/error_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/unit/dry/files/error_spec.rb -------------------------------------------------------------------------------- /spec/unit/dry/files/file_system_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/unit/dry/files/file_system_spec.rb -------------------------------------------------------------------------------- /spec/unit/dry/files/memory_file_system/node_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/unit/dry/files/memory_file_system/node_spec.rb -------------------------------------------------------------------------------- /spec/unit/dry/files/memory_file_system_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/unit/dry/files/memory_file_system_spec.rb -------------------------------------------------------------------------------- /spec/unit/dry/files/path_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-files/HEAD/spec/unit/dry/files/path_spec.rb --------------------------------------------------------------------------------