summaryrefslogtreecommitdiffstats
path: root/Help/release/dev
diff options
context:
space:
mode:
authorWouter Klouwen <wouter.klouwen@youview.com>2018-11-20 10:17:33 (GMT)
committerWouter Klouwen <wouter.klouwen@youview.com>2018-11-27 08:50:36 (GMT)
commit12b471e828e4462cce4354c87bb4fe18aeb600e3 (patch)
treeac94c73bfff84d0f6af70104ec4ab686e81a27b3 /Help/release/dev
parentd851a8b457251a577f10055d9fb277b75a82da6c (diff)
downloadCMake-12b471e828e4462cce4354c87bb4fe18aeb600e3.zip
CMake-12b471e828e4462cce4354c87bb4fe18aeb600e3.tar.gz
CMake-12b471e828e4462cce4354c87bb4fe18aeb600e3.tar.bz2
file: add SIZE option
This commit adds the SIZE option to file(). It returns the file size of the given path if it exists and produces an error if not.
Diffstat (limited to 'Help/release/dev')
-rw-r--r--Help/release/dev/file-size.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/file-size.rst b/Help/release/dev/file-size.rst
new file mode 100644
index 0000000..4f0e196
--- /dev/null
+++ b/Help/release/dev/file-size.rst
@@ -0,0 +1,5 @@
+file-size
+---------
+
+* The :command:`file` command gained a ``SIZE`` mode to get the size
+ of a file on disk.