{"id":21841075,"url":"https://github.com/redsolver/cross_file_dart","last_synced_at":"2025-03-21T15:42:48.705Z","repository":{"id":111392092,"uuid":"385326603","full_name":"redsolver/cross_file_dart","owner":"redsolver","description":"An abstraction to allow working with files across multiple platforms. (Dart-only)","archived":false,"fork":false,"pushed_at":"2021-10-08T19:54:47.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T11:11:12.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redsolver.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-12T17:17:48.000Z","updated_at":"2021-10-08T19:54:50.000Z","dependencies_parsed_at":"2023-03-13T13:41:09.640Z","dependency_job_id":null,"html_url":"https://github.com/redsolver/cross_file_dart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fcross_file_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fcross_file_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fcross_file_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fcross_file_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redsolver","download_url":"https://codeload.github.com/redsolver/cross_file_dart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244823817,"owners_count":20516357,"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","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":[],"created_at":"2024-11-27T21:29:01.206Z","updated_at":"2025-03-21T15:42:48.683Z","avatar_url":"https://github.com/redsolver.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cross_file_dart\n\nAn abstraction to allow working with files across multiple platforms.\n\n# Usage\n\nImport `package:cross_file_dart/cross_file_dart.dart`, instantiate a `CrossFile` \nusing a path or byte array and use its methods and properties to \naccess the file and its metadata.\n\nExample:\n\n```dart\nimport 'package:cross_file_dart/cross_file_dart.dart';\n\nfinal file = XFileDart('assets/hello.txt');\n\nprint('File information:');\nprint('- Path: ${file.path}');\nprint('- Name: ${file.name}');\nprint('- MIME type: ${file.mimeType}');\n\nfinal fileContent = await file.readAsString();\nprint('Content of the file: ${fileContent}');  // e.g. \"Moto G (4)\"\n```\n\nYou will find links to the API docs on the [pub page](https://pub.dev/packages/cross_file).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsolver%2Fcross_file_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredsolver%2Fcross_file_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsolver%2Fcross_file_dart/lists"}