From 8df13a37331f2efaaf2348ae1f8a06983058e4da Mon Sep 17 00:00:00 2001
From: Anthony Ramine
Date: Sat, 28 Jun 2014 08:44:44 +0200
Subject: 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.
---
lib/kernel/doc/src/file.xml | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'lib/kernel/doc/src')
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 {time, local}.
+ If the raw option is set, the file server will not be called
+ and only informations about local files will be returned.
Since file times is stored in posix time on most OS it is
@@ -1517,6 +1519,8 @@
the link will be returned in the file_info record and
the type field of the record will be set to
symlink.
+ If the raw option is set, the file server will not be called
+ and only informations about local files will be returned.
If Name is not a symbolic link, this function returns
exactly the same result as read_file_info/1.
On platforms that do not support symbolic links, this function
@@ -1855,6 +1859,8 @@
interpret it as universal time and posix must be seconds since
or before unix time epoch which is 1970-01-01 00:00 UTC.
Default is {time, local}.
+
If the raw option is set, the file server will not be called
+ and only informations about local files will be returned.
The following fields are used from the record, if they are
given.
--
cgit v1.2.3