Proposal: Use time rather than old-time in directory
Thomas Schilling
nominolo at googlemail.com
Sat Jan 14 23:31:16 CET 2012
On 14 January 2012 21:22, Ian Lynagh <igloo at earth.li> wrote:
>> Is there a fallback to platform-specific types for those who need it?
>
> Just the pre-existing withFileStatus/modificationTime on Windows, and
> getFileStatus/modificationTime on unix.
>
>> I know that came up a while ago on a different matter and I think it's
>> reasonable to provide both the standard high-level API and a
>> lower-level API.
>
> Any low-level API should probably be in unix/Win32, with directory's
> high-level API calling it.
Yes, that is completely reasonable. Low-level things are expected to
be platform-specific for cases like this. That's the trade-off.
/ Thomas
More information about the Libraries
mailing list