{"id":33934515,"url":"https://github.com/bohdaq/file-ext","last_synced_at":"2026-05-20T16:36:26.142Z","repository":{"id":63212672,"uuid":"566126810","full_name":"bohdaq/file-ext","owner":"bohdaq","description":"Collection of utility functions to work with files","archived":false,"fork":false,"pushed_at":"2023-06-25T16:40:03.000Z","size":183,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T07:51:35.108Z","etag":null,"topics":["directory","file","path","rust","symlink"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bohdaq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-11-15T02:35:04.000Z","updated_at":"2023-01-31T20:57:34.000Z","dependencies_parsed_at":"2025-04-11T18:24:15.599Z","dependency_job_id":"90979c61-fdf0-4639-9e32-16ca20e32a21","html_url":"https://github.com/bohdaq/file-ext","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/bohdaq/file-ext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Ffile-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Ffile-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Ffile-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Ffile-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bohdaq","download_url":"https://codeload.github.com/bohdaq/file-ext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bohdaq%2Ffile-ext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27684053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["directory","file","path","rust","symlink"],"created_at":"2025-12-12T13:45:09.932Z","updated_at":"2025-12-12T13:45:10.631Z","avatar_url":"https://github.com/bohdaq.png","language":"Rust","funding_links":["https://www.paypal.com/donate/?hosted_button_id=7J69SYZWSP6HJ"],"categories":[],"sub_categories":[],"readme":"# Welcome to file-ext!\n\nHi, `file-ext` is a collection of utility functions to work with files. It is tested and works on Linux, macOS and Windows.\n\n## Features\n1. File\n    1. Read \n    1. Read partially\n    1. Does file exist\n    1. Create \n    1. Read file, if it doesn't exist create and write to file\n    1. Write to file\n    1. Delete \n    1. Copy\n2. Directory\n    1. Create\n    2. Does directory exist\n    3. Delete directory\n3. Path\n    1. Absolute path to [working directory](https://en.wikipedia.org/wiki/Working_directory)\n    2. Get OS dependent path separator ('/' on Unix, '\\\\' on Windows)\n    3. Get path to OS temporary folder ('/tmp' on Linux and macOS, 'C:\\\\Users\\\\**_username_**\\\\AppData\\\\Local\\\\Temp' on Windows\n4. [Symlink](https://en.wikipedia.org/wiki/Symbolic_link)\n    1. Does symlink exist\n    2. Get path symlink points to \n    3. Create symlink\n5. User\n    1. Get the name of the user who is running the process\n    2. Get [domain](https://en.wikipedia.org/wiki/Windows_domain) user belongs to (available only on Windows) \n\n## Configuration\nNo additional configuration.\n\n## Demo\nTake a look at [mod.rs](https://github.com/bohdaq/file-ext/blob/main/src/lib.rs)\n\n## Documentation\nTake a look at [mod.rs](https://github.com/bohdaq/file-ext/blob/main/src/lib.rs)\n\n## Crate\n[Link to crate release](https://crates.io/crates/file-ext).\n\n## Build\nIf you want to build `file-ext` on your own, make sure you have [Rust installed](https://www.rust-lang.org/tools/install).\n\n\u003e $ cargo build\n\n\n## Test\nIf you want to test `file-ext`.\n\n\u003e $ cargo test\n\n\n## Community\nUse GitHub [discussions](https://github.com/bohdaq/file-ext/discussions), [issues](https://github.com/bohdaq/file-ext/issues) and [pull requests](https://github.com/bohdaq/file-ext/pulls).\n\nThere is Rust Web Server [Discord](https://discord.gg/zaErjtr5Dm) where you can ask questions and share ideas.\n\nFollow the [Rust code of conduct](https://www.rust-lang.org/policies/code-of-conduct).\n\n## Donations\nSend me tips via [PayPal](https://www.paypal.com/donate/?hosted_button_id=7J69SYZWSP6HJ).\n\n## Links\n1. [Rust Web Server](https://github.com/bohdaq/rust-web-server)\n1. [http-to-https-letsencrypt](https://github.com/bohdaq/rust-http-to-https-letsencrypt-acme)\n1. [Rust Web Framework](https://github.com/bohdaq/rust-web-framework/)\n1. [Create Debian Package](https://github.com/bohdaq/rws-create-deb)\n1. [Create RPM Package](https://github.com/bohdaq/rws-rpm-builder)\n1. [Homebrew Formula](https://github.com/bohdaq/homebrew-rust-tls-server)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbohdaq%2Ffile-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbohdaq%2Ffile-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbohdaq%2Ffile-ext/lists"}