diff options
author | Anthony Ramine <[email protected]> | 2014-06-28 08:44:44 +0200 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-06-28 12:20:09 +0200 |
commit | 8df13a37331f2efaaf2348ae1f8a06983058e4da (patch) | |
tree | c66c0be8145805d5f79edb906229bcb87744baf4 /lib/kernel/doc/src | |
parent | c9e36ab16034bb7fe71f772df6bba22070976bbf (diff) | |
download | otp-8df13a37331f2efaaf2348ae1f8a06983058e4da.tar.gz otp-8df13a37331f2efaaf2348ae1f8a06983058e4da.tar.bz2 otp-8df13a37331f2efaaf2348ae1f8a06983058e4da.zip |
Introduce new option 'raw' in file_info functions
This option allows the caller not to go through the file server for information
about files guaranteed to be local.
Diffstat (limited to 'lib/kernel/doc/src')
-rw-r--r-- | lib/kernel/doc/src/file.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml index 8dae34431b..135e993e54 100644 --- a/lib/kernel/doc/src/file.xml +++ b/lib/kernel/doc/src/file.xml @@ -1291,6 +1291,8 @@ or before unix time epoch which is 1970-01-01 00:00 UTC. Default is <c>{time, local}</c>. </p> + <p>If the <c>raw</c> option is set, the file server will not be called + and only informations about local files will be returned.</p> <note> <p> Since file times is stored in posix time on most OS it is @@ -1517,6 +1519,8 @@ the link will be returned in the <c>file_info</c> record and the <c>type</c> field of the record will be set to <c>symlink</c>.</p> + <p>If the <c>raw</c> option is set, the file server will not be called + and only informations about local files will be returned.</p> <p>If <c><anno>Name</anno></c> is not a symbolic link, this function returns exactly the same result as <c>read_file_info/1</c>. On platforms that do not support symbolic links, this function @@ -1855,6 +1859,8 @@ interpret it as universal time and <c>posix</c> must be seconds since or before unix time epoch which is 1970-01-01 00:00 UTC. Default is <c>{time, local}</c>. + <p>If the <c>raw</c> option is set, the file server will not be called + and only informations about local files will be returned.</p> </p> <p>The following fields are used from the record, if they are given.</p> |