Nowadays, even if the user wants only the filename, we use library calls, to get: the absolute and relative path, we convert the time from stat to a string to get the last modification, we also get the username from the uid stat column.
This is not cool, because, the user pays with his time, for things that he does not want!
C++ has a nice idea, of:
You only pay for what you use ...
So, if the user wants only the name, and the size, we must not waste his time getting the owner, last modification, absolute and relative path.
Contact Details
No response
What is your suggestion?
Nowadays, even if the user wants only the filename, we use library calls, to get: the absolute and relative path, we convert the time from stat to a string to get the last modification, we also get the username from the uid stat column.
This is not cool, because, the user pays with his time, for things that he does not want!
C++ has a nice idea, of:
So, if the user wants only the name, and the size, we must not waste his time getting the owner, last modification, absolute and relative path.