parent
9ac0cbdd51
commit
0c2c2dca2a
4 changed files with 968 additions and 349 deletions
|
|
@ -7,44 +7,44 @@ const
|
|||
when defined(Nimdoc): # only for proper documentation:
|
||||
const
|
||||
CurDir* = '.'
|
||||
## The constant string used by the operating system to refer to the
|
||||
## The constant character used by the operating system to refer to the
|
||||
## current directory.
|
||||
##
|
||||
## For example: '.' for POSIX or ':' for the classic Macintosh.
|
||||
## For example: `'.'` for POSIX or `':'` for the classic Macintosh.
|
||||
|
||||
ParDir* = ".."
|
||||
## The constant string used by the operating system to refer to the
|
||||
## parent directory.
|
||||
##
|
||||
## For example: ".." for POSIX or "::" for the classic Macintosh.
|
||||
## For example: `".."` for POSIX or `"::"` for the classic Macintosh.
|
||||
|
||||
DirSep* = '/'
|
||||
## The character used by the operating system to separate pathname
|
||||
## components, for example, '/' for POSIX or ':' for the classic
|
||||
## Macintosh.
|
||||
## components, for example: `'/'` for POSIX, `':'` for the classic
|
||||
## Macintosh, and `'\\'` on Windows.
|
||||
|
||||
AltSep* = '/'
|
||||
## An alternative character used by the operating system to separate
|
||||
## pathname components, or the same as `DirSep` if only one separator
|
||||
## character exists. This is set to '/' on Windows systems
|
||||
## where `DirSep` is a backslash.
|
||||
## pathname components, or the same as `DirSep <#DirSep>`_ if only one separator
|
||||
## character exists. This is set to `'/'` on Windows systems
|
||||
## where `DirSep <#DirSep>`_ is a backslash (`'\\'`).
|
||||
|
||||
PathSep* = ':'
|
||||
## The character conventionally used by the operating system to separate
|
||||
## search patch components (as in PATH), such as ':' for POSIX
|
||||
## or ';' for Windows.
|
||||
## search patch components (as in PATH), such as `':'` for POSIX
|
||||
## or `';'` for Windows.
|
||||
|
||||
FileSystemCaseSensitive* = true
|
||||
## true if the file system is case sensitive, false otherwise. Used by
|
||||
## `cmpPaths` to compare filenames properly.
|
||||
## True if the file system is case sensitive, false otherwise. Used by
|
||||
## `cmpPaths proc <#cmpPaths,string,string>`_ to compare filenames properly.
|
||||
|
||||
ExeExt* = ""
|
||||
## The file extension of native executables. For example:
|
||||
## "" for POSIX, "exe" on Windows.
|
||||
## `""` for POSIX, `"exe"` on Windows (without a dot).
|
||||
|
||||
ScriptExt* = ""
|
||||
## The file extension of a script file. For example: "" for POSIX,
|
||||
## "bat" on Windows.
|
||||
## The file extension of a script file. For example: `""` for POSIX,
|
||||
## `"bat"` on Windows.
|
||||
|
||||
DynlibFormat* = "lib$1.so"
|
||||
## The format string to turn a filename into a `DLL`:idx: file (also
|
||||
|
|
@ -127,4 +127,4 @@ else: # UNIX-like operating system
|
|||
const
|
||||
ExtSep* = '.'
|
||||
## The character which separates the base filename from the extension;
|
||||
## for example, the '.' in ``os.nim``.
|
||||
## for example, the `'.'` in ``os.nim``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue