You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/03/02 05:44:00 UTC
[jira] [Created] (ARROW-7977) [C++] Rename fs::FileStats to
fs::FileStat
Kouhei Sutou created ARROW-7977:
-----------------------------------
Summary: [C++] Rename fs::FileStats to fs::FileStat
Key: ARROW-7977
URL: https://issues.apache.org/jira/browse/ARROW-7977
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Kouhei Sutou
Assignee: Kouhei Sutou
Because widely used stat(2) is an abbreviation of "status" not
"statistics". It's better that we follow the widely used existing
convention.
Linux: http://man7.org/linux/man-pages/man2/stat.2.html
{quote}
get file status
{quote}
FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=stat&sektion=2
{quote}
get file status
{quote}
If we use FileStat instead of FileStats, we can use singular form
"stat" and plural form "stats" as variable names instead of "stats"
and "stats_vector". It will help writing readable code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)