| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-persist: Deprecate ErrorSource::Permissions, use Inaccessible | Ian Jackson | 2024-07-10 | 1 | -1/+9 |
| | | |||||
| * | tor-persist: Correct message and description for mistrust error | Ian Jackson | 2024-07-10 | 1 | -2/+4 |
| | | |||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| | | |||||
| * | Use tor_basic_utils::PathExt::display_lossy | Ian Jackson | 2024-03-05 | 1 | -1/+2 |
| | | | | | | Change Path::display to this new function, in call sites where it's being used for a diagnostic. | ||||
| * | tor-persist: state_dir: Improve an error message | Nick Mathewson | 2024-02-08 | 1 | -1/+1 |
| | | |||||
| * | tor-persist: state_dir: Implement list_instances | Ian Jackson | 2024-02-08 | 1 | -0/+3 |
| | | |||||
| * | tor-persist: Add a test for Resource::InstanceState | Ian Jackson | 2024-01-31 | 1 | -0/+38 |
| | | | | | | We should add more tests for these error representations but we want to rework these errors so let's not do all that now. | ||||
| * | tor-hsservice: state_dir: Quote some strings in an error | Ian Jackson | 2024-01-31 | 1 | -1/+1 |
| | | |||||
| * | tor-hsservice: state_dir: Fix a wrong error string | Ian Jackson | 2024-01-31 | 1 | -1/+1 |
| | | | | | We use `/` to separate, not `+`. | ||||
| * | tor-hsservice: state_dir: Fix typo | gabi-250 | 2024-01-31 | 1 | -1/+1 |
| | | |||||
| * | tor-persist: state_dir: Implement acquire_instance | Ian Jackson | 2024-01-31 | 1 | -0/+15 |
| | | | | | | | | And also instance_peek_storage, which needs to share some code, so determined the shape of this implementation. Make StateDirectory have the (one) field we need. | ||||
| * | tor-persist: Error: Provide for handling LocalResourceAlreadyInUse | Ian Jackson | 2024-01-31 | 1 | -0/+5 |
| | | | | | | state_dir doesn't support a "shared read-only" mode, so it needs an error. | ||||
| * | tor-persist: Error: Provide for handling BadSlug | Ian Jackson | 2024-01-31 | 1 | -1/+24 |
| | | | | | | | | Introduce a Bug variant. Then, use it for conversions from BadSlug. See the comment for why I think this is appropriate. | ||||
| * | Fix doc comments. | Nick Mathewson | 2024-01-24 | 1 | -1/+1 |
| | | |||||
| * | tor-persist: have load_store module provide deletion | Ian Jackson | 2024-01-24 | 1 | -0/+3 |
| | | |||||
| * | tor-persist: Provide FsMistrustErrorExt, and use it | Ian Jackson | 2023-12-13 | 1 | -5/+2 |
| | | | | | | | | | | | | | | This code needs fs_mistrust::Error and tor_error::ErrorKind. I think we probably don't want fs_mistrust to depend on tor_error or vice versa. tor_persist is approximately the place where these two threads of thought come together, and it's currently the lowest place where this is needed. Use it in tor-dirmgr too, which is currently the other place that embodies this knowledge about fs_mistrust::Error. | ||||
| * | Test a couple more error cases in tor-persist. | Nick Mathewson | 2022-12-06 | 1 | -1/+10 |
| | | |||||
| * | Use anonymize_home() when displaying various messages. | Nick Mathewson | 2022-08-31 | 1 | -2/+3 |
| | | | | | Closes #555 | ||||
| * | tor-persist: Resource::Temporary: Mark with cfg | Ian Jackson | 2022-07-18 | 1 | -0/+1 |
| | | | | | Without this, some builds get a "variant is never constructed" warning. | ||||
| * | tor-persist: Big refactoring on Error type. | Nick Mathewson | 2022-07-06 | 1 | -28/+100 |
| | | | | | | | | | | | | Every error now has an action (what we were trying to do), a resource (what we were trying to do it to), and a source (what problem we encountered). Initially I tried to add "action" and "resource" fields to error variants individually, but that led to a combinatorial explosion. Part of #323. | ||||
| * | tor-persist: Move Error to a module. | Nick Mathewson | 2022-07-06 | 1 | -0/+74 |
