Commit graph

51 commits

Author SHA1 Message Date
6344577a40 feat(fs): add .path(path).read_link() 2024-11-03 22:14:31 +00:00
e576e6e579 refactor(fs): PathReal owns its own data 2024-11-03 22:14:28 +00:00
10a745899d feat(fs): add .path(path).set_permissions(perms) 2024-11-03 22:14:26 +00:00
0db3bd40fe docs(fs): make it clearer what the std::fs functions map to 2024-11-03 22:14:24 +00:00
74977947d9 docs(fs): move checklist/std::fs mapping to rustdoc 2024-11-03 22:14:21 +00:00
8404b9fd8e feat(fs): add .path(path).symlink_metadata() 2024-11-03 22:14:03 +00:00
35791fe389 feat(fs): add .path(path).canonicalize()
Some checks failed
Rust / build (map[name:nightly]) (push) Failing after 41s
Rust / build (map[name:stable]) (push) Failing after 3m53s
2024-11-03 22:13:37 +00:00
c4df3d18c7 feat(fs): add .path(path).soft_link(other), .path(path).is_link()
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m4s
Rust / build (map[name:stable]) (push) Successful in 3m41s
Release Please / Release-plz (push) Successful in 38s
2024-11-03 22:10:34 +00:00
d3f3a9e909 feat(fs): add .path(path).metadata()
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m2s
Rust / build (map[name:stable]) (push) Successful in 3m41s
Release Please / Release-plz (push) Successful in 42s
2024-11-03 22:09:40 +00:00
10e6243f6e feat(fs): add .file(path).hard_link(path)
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 3m59s
Rust / build (map[name:stable]) (push) Successful in 1m45s
Release Please / Release-plz (push) Successful in 1m26s
2024-11-03 22:08:18 +00:00
f825aad327 feat(fs): add .path(path).rename()
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m22s
Rust / build (map[name:nightly]) (push) Successful in 4m5s
Release Please / Release-plz (push) Successful in 1m23s
2024-11-03 14:48:19 +00:00
afee181872 feat(fs): add .file(path).remove()
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m9s
Rust / build (map[name:stable]) (push) Successful in 1m50s
Release Please / Release-plz (push) Successful in 47s
2024-11-03 14:17:59 +00:00
d7725d63ee feat(fs): add .dir(path).remove_all()
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m3s
Rust / build (map[name:stable]) (push) Successful in 4m22s
Release Please / Release-plz (push) Successful in 42s
2024-11-03 14:12:03 +00:00
ba3a388705 feat(fs): add .dir(path).remove()
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 1m50s
Rust / build (map[name:stable]) (push) Successful in 4m25s
Release Please / Release-plz (push) Successful in 1m42s
2024-11-03 14:05:45 +00:00
16e57b8ca9 feat(fs): add .reader().bytes()
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m4s
Rust / build (map[name:nightly]) (push) Successful in 4m13s
Release Please / Release-plz (push) Successful in 1m27s
2024-11-03 14:03:16 +00:00
6aeb4521fc refactor(fs): use type aliases
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m2s
Rust / build (map[name:stable]) (push) Successful in 3m54s
Release Please / Release-plz (push) Successful in 41s
2024-11-03 14:01:53 +00:00
2f236b752c feat(fs): add .copy(dest)
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m4s
Rust / build (map[name:nightly]) (push) Successful in 3m45s
Release Please / Release-plz (push) Successful in 1m35s
2024-11-03 11:46:09 +00:00
b593a8f67e refactor(fs): use type aliases
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 1m53s
Rust / build (map[name:nightly]) (push) Successful in 3m35s
Release Please / Release-plz (push) Successful in 1m25s
2024-11-03 11:41:59 +00:00
fa4232de6b refactor: cleanup
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 1m58s
Rust / build (map[name:nightly]) (push) Successful in 3m48s
Release Please / Release-plz (push) Successful in 35s
2024-11-02 21:29:27 +00:00
76d75cabd9 feat: remove need for mutability
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 1m54s
Rust / build (map[name:nightly]) (push) Successful in 3m38s
Release Please / Release-plz (push) Successful in 1m25s
adds rustdocs
2024-11-02 20:02:52 +00:00
d2ee798f25 refactor: use generics for path type
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 1m59s
Rust / build (map[name:stable]) (push) Successful in 3m25s
Release Please / Release-plz (push) Successful in 34s
2024-11-02 12:16:42 +00:00
6f95c04eb6 feat(fs): add lines to reader
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m8s
Rust / build (map[name:stable]) (push) Successful in 3m54s
Release Please / Release-plz (push) Successful in 1m33s
2024-11-01 21:49:22 +00:00
587d60ee3d feat(fs): add as_dir/as_file to convert from path
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m5s
Rust / build (map[name:stable]) (push) Successful in 3m47s
Release Please / Release-plz (push) Successful in 1m32s
2024-11-01 21:49:22 +00:00
09e1d91a9e test: remove unit tests
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m7s
Rust / build (map[name:nightly]) (push) Successful in 4m17s
Release Please / Release-plz (push) Successful in 40s
These have all been moved over to integration tests.
Integrtaion
2024-11-01 21:32:37 +00:00
d50164931d refactor: split real module into sub-modules
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m9s
Rust / build (map[name:stable]) (push) Successful in 4m7s
Release Please / Release-plz (push) Successful in 38s
2024-11-01 21:32:37 +00:00
791fa74e78 refactor: move new fns to their struct
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m12s
Rust / build (map[name:nightly]) (push) Successful in 4m22s
Release Please / Release-plz (push) Successful in 38s
2024-11-01 21:16:32 +00:00
17f6f877b6 test(fs): integration tests
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m6s
Rust / build (map[name:stable]) (push) Successful in 4m21s
Release Please / Release-plz (push) Successful in 44s
2024-11-01 21:16:32 +00:00
b3118173ad feat(fs)!: remove legacy filesystem module
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m8s
Rust / build (map[name:nightly]) (push) Successful in 2m16s
Release Please / Release-plz (push) Successful in 32s
2024-11-01 08:59:09 +00:00
b756881a60 refactor: extract result module
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 1m55s
Rust / build (map[name:stable]) (push) Successful in 2m5s
Release Please / Release-plz (push) Successful in 1m33s
2024-11-01 08:33:02 +00:00
a629950d4d feat(fs)!: new fluent API
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m5s
Rust / build (map[name:stable]) (push) Successful in 4m31s
Release Please / Release-plz (push) Successful in 1m23s
2024-11-01 08:20:59 +00:00
8c76ce49e0 test: verify path_of normal behaviour
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m0s
Rust / build (map[name:stable]) (push) Successful in 4m30s
Release Please / Release-plz (push) Successful in 37s
2024-11-01 07:32:39 +00:00
Renovate Bot
2a5f47a9c9 fix(deps): update rust crate secrecy to 0.10
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m5s
Rust / build (map[name:stable]) (push) Successful in 4m23s
Release Please / Release-plz (push) Successful in 36s
2024-10-30 06:38:46 +00:00
3699733e32 build: switch to forgejo actions
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m23s
Rust / build (map[name:nightly]) (push) Successful in 4m20s
Release Please / Release-plz (push) Successful in 36s
- Replace the woodpecker config with forgejo actions.
- Add issue number to TODOs to pass CI check
- Remove special clang/mold linker commands
- Remove docker builder
- Add lints.rust.unexoected_cfgs to allo tarpaulin_include
- fix: revert upgrade to secrecy 0.10
2024-10-29 22:30:17 +00:00
274f70e485 feat: network: add from impl to help discard unit NetResponses
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
2024-06-06 07:09:43 +01:00
d0aee99c83 feat(fs): add dir_read()
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
2024-05-17 12:08:56 +01:00
a84248eca3 fix(fs): make FileSystems Clone and Debug
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-04-30 07:50:55 +01:00
595a376a62 fix(fs): add missing std::error::Error impl for fs::Error
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
ci/woodpecker/cron/woodpecker Pipeline failed
2024-04-28 19:11:12 +01:00
d58e46d65e test(fs): add tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-04-28 15:24:09 +01:00
b32c10f080 refactor(fs/tests): group into modules 2024-04-28 15:24:08 +01:00
a9057a8831 feat(fs): properly validates paths are within base directory 2024-04-28 15:24:06 +01:00
12d55b98e5 feat(fs): add dir_create and dir_create_all
Closes kemitix/kxio#25
2024-04-28 14:30:23 +01:00
a77ed422eb refactor(fs): reorder trait methods 2024-04-28 12:48:32 +01:00
9c76ddc3e1 feat(fs): extract fs::like internal module 2024-04-28 12:37:15 +01:00
2e3827e0e0 feat(fs): new fs module to replace filesystem 2024-04-28 11:29:44 +01:00
8d3f5df378 feat(fs): add new contructors for real and temp 2024-04-28 11:20:37 +01:00
a917b21f50 refactor(fs): rename internal structs
trait *Env => *Like
struct *Env => * (remove suffix)
2024-04-28 08:18:49 +01:00
ff69ed2f23 feat!: split into non-default features fs and network
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Closes kemitix/kxio#11
2024-04-16 07:06:50 +01:00
939230038c fix: reduce logging level
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Some info changed to debug. Tests left at info.
2024-04-10 11:36:33 +01:00
9c46af2e22 fix(network): Make NetRequest::new public
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2024-04-09 08:20:06 +01:00
dff2d36a02 feat: Add filesystem and network
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/todo-check Pipeline was successful
There are still some broken links around the reqwest types
2024-04-08 16:44:20 +01:00