Commit Graph

1319 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 15736cc0ce listdir example fix 2018-04-20 01:23:47 +02:00
Daniel Kolesa a85cf13c56 add status/symlink_status/file_size/hard_link_count 2018-04-20 01:22:28 +02:00
Daniel Kolesa af87ee2a8b guard the feature macros 2018-04-19 02:16:35 +02:00
Daniel Kolesa d8e2fe4f31 feature macros for utimensat availability 2018-04-19 02:10:53 +02:00
Daniel Kolesa 7cd42186a7 empty() should be noexcept 2018-04-19 00:09:11 +02:00
Daniel Kolesa dfc95fb6eb doc fixes 2018-04-19 00:00:23 +02:00
Daniel Kolesa 6768373172 doc fix 2018-04-18 23:58:51 +02:00
Daniel Kolesa 0bed9a9850 document paths 2018-04-18 23:57:00 +02:00
Daniel Kolesa 90f9285b16 path conversion operators, simplify usage 2018-04-18 18:40:45 +02:00
Daniel Kolesa 855a936c0f readme 2018-04-18 11:34:09 +02:00
Daniel Kolesa 049ce44d3a replace path aborts with exceptions 2018-04-18 10:58:02 +02:00
Daniel Kolesa 9aa03b8a9f remove c++ std::filesystem stuff 2018-04-18 03:57:22 +02:00
Daniel Kolesa 307675731c add fs APIs for creating/removing/renaming, mtime and globs 2018-04-18 03:40:03 +02:00
Daniel Kolesa 64a529254c add checking file types to directory entry 2018-04-17 23:13:46 +02:00
Daniel Kolesa 4c0c4e8f41 directory entries are for one-time read only, remove assign/clear 2018-04-17 03:05:00 +02:00
Daniel Kolesa 83dc828a89 re-add directory_entry 2018-04-17 03:02:51 +02:00
Daniel Kolesa 77b267a34b file_status -> file_mode, directory_entry -> file_info 2018-04-17 02:54:05 +02:00
Daniel Kolesa d011daad3b implement path cwd/home/temp/absolute/relative/canonical/existence/equivalence 2018-04-17 02:26:45 +02:00
Daniel Kolesa 755e0f3934 update listdir example to use path 2018-04-16 03:20:40 +02:00
Daniel Kolesa 0d0655b09e add APIs for checking file types and permissions 2018-04-16 03:10:15 +02:00
Daniel Kolesa f395562734 memory-safe dir ranges 2018-04-16 01:59:10 +02:00
Daniel Kolesa 1668750308 always build with 64bit inodes on linux 2018-04-16 01:13:32 +02:00
Daniel Kolesa 1a13f71390 saner recursive dir iteration ordering 2018-04-16 01:10:03 +02:00
Daniel Kolesa ad635c8a23 add recursive directory range 2018-04-16 00:19:48 +02:00
Daniel Kolesa 4ef512effa add a range to iterate a directory 2018-04-15 23:23:43 +02:00
Daniel Kolesa 1ade11b936 always store path format concretely as either posix or windows 2018-04-15 21:24:14 +02:00
Daniel Kolesa a2fd106580 add a range to get all parents of a path + parent check fixes 2018-04-15 20:37:37 +02:00
Daniel Kolesa c990134bb7 path fixes on windows 2018-04-15 19:10:58 +02:00
Daniel Kolesa 3d8dbcbab2 noexcept range ctor 2018-04-15 18:57:23 +02:00
Daniel Kolesa 16518fcc83 add a range type to iterate paths by parts 2018-04-15 18:56:25 +02:00
Daniel Kolesa de04a60251 better implementation of parent/has_parent 2018-04-15 18:00:20 +02:00
Daniel Kolesa 567a3e0b85 noexcept + remove useless methods 2018-04-15 17:40:20 +02:00
Daniel Kolesa 75e4f9b99a for path parts, use immutable slices (no memory alloc) 2018-04-15 16:34:30 +02:00
Daniel Kolesa 85a9715ac3 implement is_relative/is_absolute 2018-04-15 15:30:30 +02:00
Daniel Kolesa 9cea53491d only normalize during append when necessary 2018-04-15 15:17:49 +02:00
Daniel Kolesa 7cf307f60a better, cleaner and faster path concat/append 2018-04-15 01:11:14 +02:00
Daniel Kolesa 2f42383fcd fixes 2018-04-14 23:33:42 +02:00
Daniel Kolesa 2f180cfc0e lots of new path functions 2018-04-14 23:21:58 +02:00
Daniel Kolesa 1d6c256b2a correct separator replacement 2018-04-14 21:38:23 +02:00
Daniel Kolesa 9c2fdd5f67 strip trailing seps 2018-04-14 21:34:24 +02:00
Daniel Kolesa 96a3c9da30 paths are now always in a valid format 2018-04-14 21:28:01 +02:00
Daniel Kolesa 6eee000b49 drive/root/anchor should be strings 2018-04-14 18:03:43 +02:00
Daniel Kolesa 263b686ef0 drive/root/anchor/parent/name/suffix/stem/relative_to for paths 2018-04-14 17:46:44 +02:00
Daniel Kolesa 643aa7e01a path move semantics 2018-04-14 01:42:15 +02:00
Daniel Kolesa 7e28045942 expand path structure a bit 2018-04-14 01:29:01 +02:00
Daniel Kolesa a7b37b0d2e initial skeleton for path module to replace std::filesystem 2018-04-13 18:57:04 +02:00
Daniel Kolesa 8686962cbc catch coroutine error in example 2018-04-11 02:27:26 +02:00
Daniel Kolesa b0e8b3fbd0 do not use the GNU-extension execvpe 2018-04-11 02:23:17 +02:00
Daniel Kolesa 3f939f2e1a avoid silly gcc warning 2018-01-17 22:58:34 +01:00
Daniel Kolesa 45161b9837 more sensible build macros on windows 2018-01-17 22:56:39 +01:00