diff options
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. // |