True is true
This commit is contained in:
parent
39f549d06a
commit
5fcb7ca313
1 changed files with 3 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ when defined(Nimdoc): # only for proper documentation:
|
||||||
## Windows.
|
## Windows.
|
||||||
|
|
||||||
FileSystemCaseSensitive* = true
|
FileSystemCaseSensitive* = true
|
||||||
## True if the file system is case sensitive, false otherwise. Used by
|
## true if the file system is case sensitive, false otherwise. Used by
|
||||||
## `cmpPaths` to compare filenames properly.
|
## `cmpPaths` to compare filenames properly.
|
||||||
|
|
||||||
ExeExt* = ""
|
ExeExt* = ""
|
||||||
|
|
@ -817,7 +817,7 @@ when defined(Windows):
|
||||||
|
|
||||||
proc sameFile*(path1, path2: string): bool {.rtl, extern: "nos$1",
|
proc sameFile*(path1, path2: string): bool {.rtl, extern: "nos$1",
|
||||||
tags: [ReadDirEffect].} =
|
tags: [ReadDirEffect].} =
|
||||||
## Returns True if both pathname arguments refer to the same physical
|
## Returns true if both pathname arguments refer to the same physical
|
||||||
## file or directory. Raises an exception if any of the files does not
|
## file or directory. Raises an exception if any of the files does not
|
||||||
## exist or information about it can not be obtained.
|
## exist or information about it can not be obtained.
|
||||||
##
|
##
|
||||||
|
|
@ -857,7 +857,7 @@ proc sameFile*(path1, path2: string): bool {.rtl, extern: "nos$1",
|
||||||
|
|
||||||
proc sameFileContent*(path1, path2: string): bool {.rtl, extern: "nos$1",
|
proc sameFileContent*(path1, path2: string): bool {.rtl, extern: "nos$1",
|
||||||
tags: [ReadIOEffect].} =
|
tags: [ReadIOEffect].} =
|
||||||
## Returns True if both pathname arguments refer to files with identical
|
## Returns true if both pathname arguments refer to files with identical
|
||||||
## binary content.
|
## binary content.
|
||||||
const
|
const
|
||||||
bufSize = 8192 # 8K buffer
|
bufSize = 8192 # 8K buffer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue