diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
commit | ec44300155e99268cb2b23deb7e789d0bb4b1723 (patch) | |
tree | 766bee13af37a2cab40fe5ceadbf7cb5b9d7b6b4 /gitstatus/src/dir.h | |
parent | 25e5f5985f0b977461c0d14663a910363684014e (diff) | |
parent | 80ec734a953d930838ea6839923c97c3da880a0d (diff) |
Merge commit '80ec734a953d930838ea6839923c97c3da880a0d'
Diffstat (limited to 'gitstatus/src/dir.h')
-rw-r--r-- | gitstatus/src/dir.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gitstatus/src/dir.h b/gitstatus/src/dir.h index 42ab29bb..4d4cf3da 100644 --- a/gitstatus/src/dir.h +++ b/gitstatus/src/dir.h @@ -25,11 +25,11 @@ namespace gitstatus { -// On error, clears entries and returns false. Does not throw. +// On error, leaves entries unchaged and returns false. Does not throw. // -// On success, fills entries with the names of files from the specified directory and returns true. -// Every entry is a null-terminated string. At -1 offset is its d_type. All elements point into the -// arena. They are sorted either by strcmp or strcasecmp depending on case_sensitive. +// On success, appends names of files from the specified directory to entries and returns true. +// Every appended entry is a null-terminated string. At -1 offset is its d_type. All elements +// point into the arena. They are sorted either by strcmp or strcasecmp depending on case_sensitive. // // Does not close dir_fd. // |