summaryrefslogtreecommitdiffstats
path: root/core/io/dir_access.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotSpartan3222024-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Enforce template syntax `typename` over `class`Thaddeus Crews2024-03-071-2/+2
|
* Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-7/+7
|
* Add method to check if filesystem is case sensitive.bruvzg2023-10-091-0/+2
|
* Support long path in file access on windowsSamuele Panzeri2023-05-051-1/+1
| | | | Changed windows file access file to check for path length and use the \\?\ long format when needed
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Make some File/Dir methods privatekobewi2022-09-271-2/+2
|
* Introduce more static methods to directory APIkobewi2022-09-201-0/+13
|
* Replace File/Directory with FileAccess/DirAccesskobewi2022-09-191-0/+20
|
* Additional fixes to the Android `get_current_dir()` implementation.Fredia Huya-Kouadio2022-08-301-1/+1
|
* Various converter enhancements and bugfixesRafał Mikrut2022-08-031-0/+2
|
* Add full support for Android scoped storage.Fredia Huya-Kouadio2022-07-051-0/+1
| | | | | This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer. This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-31/+10
|
* Fix crash when exporting projects with shared librariesHaoyu Qiu2022-03-231-0/+4
|
* Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-1/+1
| | | | | | | | `DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-0/+147
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.