4
%% Copyright Ericsson AB 1997-2010. All Rights Reserved.
4
%% Copyright Ericsson AB 1997-2011. All Rights Reserved.
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
25
25
{size :: non_neg_integer(), % Size of file in bytes.
26
26
type :: 'device' | 'directory' | 'other' | 'regular' | 'symlink',
27
27
access :: 'read' | 'write' | 'read_write' | 'none',
28
atime :: file:date_time(), % The local time the file was last read:
29
% {{Year, Mon, Day}, {Hour, Min, Sec}}.
30
mtime :: file:date_time(), % The local time the file was last written.
31
ctime :: file:date_time(), % The interpretation of this time field
28
atime :: file:date_time() | integer(), % The local time the file was last read:
29
% {{Year, Mon, Day}, {Hour, Min, Sec}}.
30
% atime, ctime, mtime may also be unix epochs()
31
mtime :: file:date_time() | integer(), % The local time the file was last written.
32
ctime :: file:date_time() | integer(), % The interpretation of this time field
32
33
% is dependent on operating system.
33
34
% On Unix it is the last time the file
34
35
% or the inode was changed. On Windows,