restic/cmd/restic
Michael Eischer 3a995172b7 fs: rewrite Reader to build fs tree up front
This adds proper support for filenames that include directories. For
example, `/foo/bar` would result in an error when trying to open `/foo`.

The directory tree is now build upfront. This ensures let's the
directory tree construction be handled only once. All accessors then
only have to look up the constructed directory entries.
2025-04-11 21:37:40 +02:00
..
testdata ls: sort output by size, atime, ctime, mtime, time(=mtime), extension (#5182) 2025-02-03 22:07:04 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go remove global shutdown hook 2024-04-22 22:27:19 +02:00
cmd_backup.go fs: rewrite Reader to build fs tree up front 2025-04-11 21:37:40 +02:00
cmd_backup_integration_test.go fs: inline ExtendedStat 2024-11-30 16:19:16 +01:00
cmd_backup_test.go improve fprintf related error handling 2024-11-01 17:07:43 +01:00
cmd_cache.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_cat.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_cat_test.go cat: extract parameter validation and add a test 2023-08-13 19:17:46 +02:00
cmd_check.go ui/progress: extend Printer interface with print to stdout method 2025-03-23 17:46:04 +01:00
cmd_check_integration_test.go Print JSON summary in all error cases 2025-02-05 22:08:06 +01:00
cmd_check_test.go check: fix cachedir creation when using default location 2024-06-30 12:04:57 +02:00
cmd_copy.go refactor secondary options 2025-02-07 21:29:33 +01:00
cmd_copy_integration_test.go backup: run test with absolute path 2024-10-31 22:07:15 +01:00
cmd_debug.go fix linter errors 2025-02-07 21:29:33 +01:00
cmd_debug_disabled.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_diff.go Remove unnecessary type conversions. 2025-03-22 18:20:30 +00:00
cmd_diff_integration_test.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_dump.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_dump_test.go dump: Add test for splitPath 2020-08-30 16:00:48 +02:00
cmd_features.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_find.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_find_integration_test.go Issue 4433: Ability to define sort order for output of find command (#5184) 2025-01-29 20:44:16 +00:00
cmd_forget.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_forget_integration_test.go Fix typos 2024-07-03 20:02:06 +02:00
cmd_forget_test.go forget: simplify test 2023-07-28 19:21:40 +02:00
cmd_generate.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_generate_integration_test.go generate: allow passing - for stdout output 2024-09-16 10:54:00 +03:00
cmd_init.go refactor secondary options 2025-02-07 21:29:33 +01:00
cmd_init_integration_test.go Add temporary files repositories in integration tests 2024-08-31 16:50:06 +02:00
cmd_key.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_key_add.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_key_integration_test.go Add --insecure-no-password option 2024-05-24 22:38:20 +02:00
cmd_key_list.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_key_passwd.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_key_remove.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_list.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_list_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_ls.go Fix godoc comments. 2025-03-22 18:20:30 +00:00
cmd_ls_integration_test.go add a test to cmd_ls_integration_test.go: test rest ls --json (#5255) 2025-03-22 14:20:19 +01:00
cmd_ls_test.go ls: proper error handling if output is not possible 2024-11-01 17:07:43 +01:00
cmd_migrate.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_mount.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_mount_disabled.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_mount_integration_test.go mount: enable debug log for TestMountSameTimestamps 2024-08-03 22:17:07 +02:00
cmd_options.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_prune.go prune: fix not working option 2025-03-22 15:34:40 +01:00
cmd_prune_integration_test.go prune: fix not working option 2025-03-22 15:34:40 +01:00
cmd_recover.go recover: automatically run repair index before recovering snapshots 2025-03-23 17:55:33 +01:00
cmd_recover_integration_test.go recover: add minimal integration test 2025-03-23 18:07:41 +01:00
cmd_repair.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_repair_index.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_repair_index_integration_test.go Fix name including package name and variable shadowing package. 2025-03-23 10:01:19 +00:00
cmd_repair_packs.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_repair_snapshots.go Remove unnecessary type conversions, second set. 2025-03-22 18:20:30 +00:00
cmd_repair_snapshots_integration_test.go forget: test --unsafe-allow-remove-all and --keep-tags safety check 2024-05-24 20:45:33 +02:00
cmd_restore.go restore: fix redundant default value for --overwrite option 2025-03-23 19:54:22 +01:00
cmd_restore_integration_test.go backup: run test with absolute path 2024-10-31 22:07:15 +01:00
cmd_rewrite.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_rewrite_integration_test.go Issue: 4942: cmd_rewrite: add snapshot summary data to an existing snapshot. (#5185) 2025-02-05 20:40:20 +01:00
cmd_self_update.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_self_update_disabled.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_snapshots.go Merge pull request #5241 from MichaelEischer/cleanup-cli 2025-02-16 18:28:48 +01:00
cmd_snapshots_integration_test.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_snapshots_test.go Add more error checks 2021-01-30 20:02:37 +01:00
cmd_stats.go Remove unnecessary type conversions. 2025-03-22 18:20:30 +00:00
cmd_stats_test.go stats: Add debug mode to collect repository statistics 2023-07-08 23:04:47 +02:00
cmd_tag.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_tag_integration_test.go tag: output the original ID and new snapshotID (#5144) 2025-01-14 18:57:47 +01:00
cmd_unlock.go Create root command via function 2025-02-07 21:29:33 +01:00
cmd_version.go Create root command via function 2025-02-07 21:29:33 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude.go repository: expose cache via method 2025-01-13 22:40:18 +01:00
find.go clarify that all paths specified using --path option must match 2024-06-30 20:32:36 +02:00
find_test.go complete RESITC_HOST environment handling & test 2024-04-24 21:52:39 +02:00
flags_test.go Create root command via function 2025-02-07 21:29:33 +01:00
format.go add proper constants for node type 2024-08-31 18:20:01 +02:00
format_test.go add proper constants for node type 2024-08-31 18:20:01 +02:00
global.go Set development version for 0.18.0 2025-03-27 20:17:36 +01:00
global_debug.go refactor persistent options to be applied via functions 2025-02-07 19:03:46 +01:00
global_release.go Create root command via function 2025-02-07 21:29:33 +01:00
global_test.go Merge pull request #4845 from greatroar/errors 2024-06-07 17:07:07 +00:00
integration_filter_pattern_test.go move include/exclude options to filter package 2024-08-31 18:04:07 +02:00
integration_helpers_test.go recover: add minimal integration test 2025-03-23 18:07:41 +01:00
integration_helpers_unix_test.go improve fprintf related error handling 2024-11-01 17:07:43 +01:00
integration_helpers_windows_test.go Rename unused parameters to '_'. 2025-03-22 18:20:30 +00:00
integration_test.go Print JSON summary in all error cases 2025-02-05 22:08:06 +01:00
lock.go Fix typos 2024-07-03 20:02:06 +02:00
main.go doc: fix various typos 2025-03-05 20:47:08 -05:00
progress.go Renames to fix clashes with reserved words. 2025-03-22 18:20:30 +00:00
secondary_repo.go refactor secondary options 2025-02-07 21:29:33 +01:00
secondary_repo_test.go use standalone shutdown hook for readPasswordTerminal 2024-04-22 22:27:19 +02:00
termstatus.go ui, termstatus: Move WrapStdio 2024-05-21 11:25:16 +02:00