Compare commits
No commits in common. "main" and "v3.1.0" have entirely different histories.
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ async fn main() -> kxio::Result<()> {
|
||||||
// Create a `FileSystem` object for accessing files within the current directory.
|
// Create a `FileSystem` object for accessing files within the current directory.
|
||||||
// The object created will return a `PathTraveral` error result if there is an attempt to\
|
// The object created will return a `PathTraveral` error result if there is an attempt to\
|
||||||
// access a file outside of this directory.
|
// access a file outside of this directory.
|
||||||
let current_dir = std::env::current_dir().map_err(kxio::fs::Error::Io)?;
|
let fs: kxio::fs::FileSystem = kxio::fs::new("./");
|
||||||
let fs: kxio::fs::FileSystem = kxio::fs::new(current_dir);
|
|
||||||
|
|
||||||
// The URL we will fetch - the readme for this library.
|
// The URL we will fetch - the readme for this library.
|
||||||
let url = "https://git.kemitix.net/kemitix/kxio/raw/branch/main/README.md";
|
let url = "https://git.kemitix.net/kemitix/kxio/raw/branch/main/README.md";
|
||||||
|
|
Loading…
Reference in a new issue