Investiagte the usage `signed_to_duration`
- Dominant language
- Rust
- Stars
- 5.4k
- Forks
- 825
- Avg merge
- 1d 14m
- Merged PRs (30d)
- 127
Description
As a follow up I actually think we can investiagte the usage of this method and port all of them to `signed_duration_to_duration`. This makes all `XxxConfig` use a typed struct rather than `ttl: Option` and relying on the implicit contract.
_Originally posted by @tisonkun in https://github.com/apache/opendal/pull/7983#discussion_r3717225084_
Contributor guide
Research direction
Search the repository for `signed_to_duration`, `signed_duration_to_duration`, and `XxxConfig` to map every usage and affected configuration type. Read the surrounding conversion and configuration code first; the work is done when usages are migrated and the configs use typed structs instead of `ttl: Option` with an implicit contract.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100