File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -1110,9 +1110,9 @@ directory didn't exist. May throw an exception.
1110
1110
## stat
1111
1111
* ` stat(str $path, int $code) `
1112
1112
1113
- Given a path and a code, return an int describing that path. Any of
1114
- these variants may throw an exception if the platform does not support
1115
- them. (JVM does not support ` STAT_PLATFORM_BLOCKSIZE ` or
1113
+ Given a path and a code, return an int describing that path using the OS's
1114
+ stat() function. Any of these variants may throw an exception if the platform
1115
+ does not support them. (JVM does not support ` STAT_PLATFORM_BLOCKSIZE ` or
1116
1116
` STAT_PLATFORM_BLOCKS ` ).
1117
1117
1118
1118
* `nqp::const::STAT_EXISTS`
@@ -1190,6 +1190,12 @@ Returns preferred I/O size in bytes for interacting with the file.
1190
1190
1191
1191
Returns number of system-specific blocks allocated on disk.
1192
1192
1193
+ ## lstat
1194
+ * ` lstat(str $path, int $code) `
1195
+
1196
+ Same as stat, but internally uses the OS's lstat() function, which does * not*
1197
+ follow symlinks.
1198
+
1193
1199
## symlink
1194
1200
* ` symlink(str $before, str $after) `
1195
1201
Original file line number Diff line number Diff line change 1
- 2015.01-34-g2d7eddb
1
+ 2015.01-69-g5bbfd1a
You can’t perform that action at this time.
0 commit comments