Skip to content

v0.16.1

Choose a tag to compare

@github-actions github-actions released this 10 Feb 22:01
· 160 commits to main since this release
3ae4999

Highlights

  • add oneio::exists(path: &str) function to check if a local or remote file exists.
    • currently support local file, http(s) remote and s3 remote files checking

Example usages

    assert!(!oneio::exists("https://spaces.bgpkit.org/oneio/test_data_NOT_EXIST.json").unwrap());
    assert!(oneio::exists("https://spaces.bgpkit.org/oneio/test_data.json").unwrap());