Skip to content

Commit 8c7cbcc

Browse files
committed
filesystem: split const blocks
The rationale for this is that editors / LSP picks up the const comment and applies it to all members of the block. The root and error constants are not "permission bits" like the values above them.
1 parent fcc67c6 commit 8c7cbcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/filesystem/filesystem.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ const (
106106
ExecuteUser
107107
WriteUser
108108
ReadUser
109+
)
109110

111+
const (
110112
Root = "."
111113

112114
ErrPath = generic.ConstError("path not valid")

0 commit comments

Comments
 (0)