Timothy Flynn
|
4a916cd379
Everywhere: Remove needless copies of Error / ErrorOr instances
|
2 years ago |
Linus Groh
|
6e7459322d
AK: Remove StringBuilder::build() in favor of to_deprecated_string()
|
2 years ago |
Karol Kosek
|
b810f7f88a
LibCore: Implement File::can_delete_or_move()
|
2 years ago |
Tim Schumacher
|
8455d58a44
LibCore: Use a StringView for the file path in File::remove
|
2 years ago |
Tim Schumacher
|
9805f73704
LibCore: Remove the `force` parameter from File::remove
|
2 years ago |
Tim Schumacher
|
355e761a02
LibCore: Let File::remove return a normal ErrorOr
|
2 years ago |
Lucas CHOLLET
|
cfb0e1bdb2
LibCore: Add fd overload of `File::is_directory` and `File::is_device`
|
2 years ago |
Tim Schumacher
|
2fc2025f49
LibCore: Move `Core::Stream::File::exists()` to `Core::File`
|
2 years ago |
Linus Groh
|
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
|
2 years ago |
Andreas Kling
|
376b3c95f7
LibCore: Use utimensat() in Core::File to preserve nanosecond timestamps
|
2 years ago |
meiskam
|
71359ee453
LibCore: Handle resolving executable paths even when PATH is null
|
2 years ago |
Andrew Kaster
|
1d533acbc0
AK+Userland: Replace Linux, macOS, and *BSD macros with platform defines
|
2 years ago |
Andrew Kaster
|
828441852f
Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY
|
2 years ago |
Tim Schumacher
|
5f99934dce
Userland: Consolidate most PATH resolving into a single implementation
|
2 years ago |
Samuel Bowman
|
7b8088c78d
LibCore: Add File::is_{block,char}_device() helpers
|
3 years ago |
Tim Schumacher
|
69e0b8dbb7
LibCore: Make copying permissions, ownership and timestamps combineable
|
3 years ago |
kleines Filmröllchen
|
5319e3a03f
LibCore+Userland: Remove File::ensure_parent_directories
|
3 years ago |
Idan Horowitz
|
086969277e
Everywhere: Run clang-format
|
3 years ago |
Kenneth Myhra
|
4a57be824c
Userland+Tests: Convert File::read_link() from String to ErrorOr<String>
|
3 years ago |
Tim Schumacher
|
62f0fa818d
LibCore: Add File::ensure_directories()
|
3 years ago |
Daniel Bertalan
|
01dc718f07
LibCore: Do not skip dotfiles when copying directories recursively
|
3 years ago |
Tim Schumacher
|
80cb44afae
Everywhere: Move shared library checks into a common function
|
3 years ago |
Andreas Kling
|
a7f1f1c34b
LibCore: Use ErrorOr<T> for Core::File::open()
|
3 years ago |
Andreas Kling
|
fac2550143
LibCore: Use ErrorOr<T> for Core::File::size()
|
3 years ago |
Andreas Kling
|
4a2b718ba2
LibCore: Use ErrorOr<T> for Core::File::copy_file()
|
3 years ago |
Andreas Kling
|
c7e62d448c
LibCore: Use ErrorOr<T> for Core::File::remove()
|
3 years ago |
Andreas Kling
|
b2170c11a4
LibCore: Use ErrorOr<T> for Core::File::link_file()
|
3 years ago |
Leandro Pereira
|
73924f9416
LibCore: Add File::size()
|
3 years ago |
Callum Walker
|
fd3735199b
LibCore: Fix link_file inverting src and dst paths on duplicate names
|
3 years ago |
Andreas Kling
|
13f4890c38
LibCore: Make Core::File::open() return OSError in case of failure
|
3 years ago |