aboutsummaryrefslogtreecommitdiffstats
path: root/src/file_util.cpp
Commit message (Expand)AuthorAgeFilesLines
* Introduce `enum class` support via jau::enums and JAU_MAKE_ENUM_IMPL + JAU_MA...Sven Göthel2024-09-281-111/+17
* cleanup: includes, space, missing inline (ODR), drop cast, drop return statementSven Göthel2024-09-141-1/+1
* cleanup C++20: Review bugprone-casting-through-void; Fix includes; Use type-t...Sven Göthel2024-05-191-2/+2
* cleanup C++20: Use non-optimized new zero_bytes_sec() instead of ::bzero(), w...Sven Göthel2024-05-191-4/+5
* WebAssembly (emscripten) PatchesSven Göthel2024-05-101-3/+11
* file_util: robustness: remove checks whether path exists upfront (catches emp...Sven Göthel2024-05-021-7/+26
* file_util: Add chdir(); Add API doc on absolute(), i.e. relpath must existSven Göthel2024-05-021-16/+20
* file_util: robustness: dir_item is empty w/ empty path; visit: Add depth argu...Sven Göthel2024-05-021-15/+35
* file_util: Add absolute() and isAbsolute(), make test_fileutils* more robust ...Sven Göthel2024-04-301-0/+23
* file_util.cpp: get_cwd() using std::string reserved buffer (avoid copy); Use ...Sven Göthel2024-04-301-45/+52
* Resolve bogus gcc 12.2 'may overlap' warning (=error) using C++20 and O3Sven Göthel2024-04-101-2/+3
* clang-tidy: Add 'performance-' fixesSven Gothel2022-11-271-3/+3
* clang-tidy: Abort on heap alloc failure for noexcept methods, which is a rare...Sven Gothel2022-11-261-2/+2
* clang-tidy (C++ lint): Enable for vscode, optional @ commandline (see scripts...Sven Gothel2022-11-261-3/+0
* ClangTidy: Use proper types (size_t, ..) w/o conversion; Use nullptrSven Gothel2022-11-211-7/+10
* ClangTidy: Misc fixes: Use override, conversion, nullptr, c-includes, default...Sven Gothel2022-11-211-8/+8
* ClangTidy: modernize-pass-by-value: std::move rvalue to member instead of cop...Sven Gothel2022-11-211-2/+2
* Linux/GLIBC vs Linux/musl (Alpine): If !GLIBC drop using pthread_cond_clockwa...Sven Gothel2022-10-171-8/+10
* jau::FunctionDef<> -> jau::function<R(A...)> using proper function prototype ...Sven Gothel2022-09-161-3/+3
* jau::codec::base: API use a fixed alphabet::base() and drop extra alphabet::c...v0.15.0Sven Gothel2022-09-071-1/+1
* Add jau::codec::base::ascii38_alphabet: Drop lower case letters suitable for ...Sven Gothel2022-09-061-2/+2
* Variable integer base coding and fixed binary base 64 coding in C++ `jau::cod...Sven Gothel2022-09-061-2/+3
* variable radix encoding: Move 62 -> 64 base, using rfc4648 `URL and Filename ...Sven Gothel2022-09-031-1/+1
* jau::fs::copy(): Have copy_push_mkdir() use a 6-digit base62 radix for random...Sven Gothel2022-09-031-5/+5
* jau:fs::mount(), umount(): Only show 'terminated abnormally' if !WIFEXITED(pi...Sven Gothel2022-09-011-9/+12
* Complete full `jau::fs::mount()` and `umount()`Sven Gothel2022-08-311-15/+141
* file_util: fix mem leak, robustness changesSven Gothel2022-08-051-28/+24
* Fix jau::fs::{compare, copy_file}(): Retry read/write if EAGAIN or EINTR (cop...Sven Gothel2022-07-311-6/+21
* file_stats: Support new fmode_t types sock, blk, chr and fifo, move fd from t...Sven Gothel2022-07-311-57/+119
* jau::fs::rename: Fix typo in error messageSven Gothel2022-07-291-1/+1
* Add traverse_options::lexicographical_order as required when computing an ord...Sven Gothel2022-07-291-0/+8
* Add jau::fs::sync() / FileUtil.sync(): Synchronizes filesystems ...Sven Gothel2022-07-291-0/+4
* jau::fs::copy_option / CopyOption: Add into_existing_dir: Copy source dir con...Sven Gothel2022-07-291-7/+20
* jau::fs::[u]mount(): Better WARN and ERR messages (detail child_pid, ..)Sven Gothel2022-07-251-4/+6
* FreeBSD Support: file_util.cpp: Use macros for statx/stat and sendfile varian...Sven Gothel2022-07-241-54/+82
* Pipe dreams: Add support for (named) file descriptor: jau::fs::file_stat and ...Sven Gothel2022-07-231-10/+67
* copy_options::ignore_symlink_errors: Also ignore symlinks if not supported by...Sven Gothel2022-07-201-1/+8
* fraction_timespec::to_iso8601_string(), file_stats::to_string(): Drop 'use_sp...Sven Gothel2022-07-201-5/+5
* Data-Race-Free (DRF) jau::fs::visit(): Use `dirfd` operations throughout visi...Sven Gothel2022-07-191-104/+114
* Add jau::fs::rename() (C++) / FileUtil.rename() (Java)Sven Gothel2022-07-181-0/+16
* Data-Race-Free (DRF) jau::fs::copy() and remove(): Use `dirfd` `openat()` etc...Sven Gothel2022-07-181-220/+451
* file_util.cpp: Remove unused macro APPEND_BIT_COPYOPTIONSSven Gothel2022-07-111-2/+0
* Fix dir_item::reduce()Sven Gothel2022-07-071-46/+60
* Complete file_util: dir_item def ctor and equality op; file_stat equality op;...Sven Gothel2022-07-041-51/+50
* test_bytestream (C++, Java): Byte-compare source w/ destination; Java: Add Fi...Sven Gothel2022-06-281-0/+6
* jau::fs::dir_item::backed_string_view: Adopt to clang's inability to std::mov...Sven Gothel2022-06-251-44/+39
* jau::fs::mount_image(), umount(): fork() to have child-process seteuid(0) for...Sven Gothel2022-06-251-88/+157
* jau::fs::copy(): Use effective uid, geteuid(), to determine root privilegesSven Gothel2022-06-251-7/+15
* jau::fs::compare: Fix filehandle closing and commentSven Gothel2022-06-231-3/+3
* Add jau::fs::mount_image() and umount(), enable testing via '-DTEST_WITH_SUDO...Sven Gothel2022-06-231-0/+140