Skip to content

Commit 1e3441d

Browse files
rominftimotheecour
authored andcommitted
Fix docstring formatting in lib/pure/os.nim
Co-authored-by: Timothee Cour <[email protected]>
1 parent db37cfe commit 1e3441d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

lib/pure/os.nim

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,15 +1696,12 @@ proc expandSymlink*(symlinkPath: string): string {.tags: [ReadIOEffect],
16961696
len = readlink(symlinkPath, result, len)
16971697
setLen(result, len)
16981698

1699-
type
1700-
## Enumeration specifying an action to perform on symlink while copying.
1701-
SymlinkAction* = enum
1702-
saFollow, ## Copy the files symlinks point to
1703-
saCopy, ## Copy symlinks as symlinks
1704-
saSkip ## Ignore symlinks
1705-
1706-
## Options controlling the behavior of copying files.
1707-
CopyOptions* = object
1699+
type SymlinkAction* = enum ## Action to perform on symlink while copying.
1700+
saFollow, ## Copy the files symlinks point to
1701+
saCopy, ## Copy symlinks as symlinks
1702+
saSkip ## Ignore symlinks
1703+
1704+
type CopyOptions* = object ## Options controlling the files copying.
17081705
symlinkAction*: SymlinkAction ## Action to perform on symlink
17091706

17101707
proc copyFile*(source, dest: string,

0 commit comments

Comments
 (0)