elvish/pkg
Kurtis Rader a72224d7f0 Fix glob expansion that includes broken symlinks
Glob expansion should use os.Lstat rather than os.Stat so that broken
symlinks don't stop glob expansion. It's not the place of glob expansion
to decide if a particular path is good.

The symlink test cases and logic were borrowed from
pkg/mods/path/path_test.go.

Fixes #1240
2022-08-28 21:46:39 +01:00
..
buildinfo pkg/buildinfo: Improve test coverage. 2022-06-20 21:13:34 +01:00
cli Run gofmt. 2022-08-07 22:30:11 +01:00
daemon Move pkg/testutil/must.go to a new pkg/must. 2022-06-20 20:29:14 +01:00
diag interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
edit Improve doc on conditionally importing a module. 2022-08-13 11:26:13 +01:00
env Implement XDG directory support. 2021-07-10 02:20:59 +01:00
eval Remove go1.18 build tags as 1.18 is required. 2022-08-08 12:29:33 +01:00
fsutil Move pkg/testutil/must.go to a new pkg/must. 2022-06-20 20:29:14 +01:00
getopt interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
glob Fix glob expansion that includes broken symlinks 2022-08-28 21:46:39 +01:00
logutil pkg/logutil: Add tests. 2022-06-20 22:03:58 +01:00
lsp Move pkg/testutil/must.go to a new pkg/must. 2022-06-20 20:29:14 +01:00
mods pkg/mods/runtime: Make $elvish-path $nil if os.Executable returns an error. 2022-08-13 11:42:16 +01:00
must pkg/shell: Test signal handling. 2022-06-23 21:48:12 +01:00
parse Remove go1.18 build tags as 1.18 is required. 2022-08-08 12:29:33 +01:00
persistent Run gofmt. 2022-08-07 22:30:11 +01:00
pprof Revamp flag handling in pkg/prog. 2022-02-05 14:52:29 +00:00
prog Run gofmt. 2022-08-07 22:30:11 +01:00
rpc Run gofmt. 2022-08-07 22:30:11 +01:00
shell Add new runtime module. 2022-08-08 00:09:02 +01:00
store Expose all functionalities of the persistent store in the store: module. 2021-10-03 16:34:52 +01:00
strutil Don't dot import pkg/tt 2022-06-04 23:39:19 +01:00
sys Run gofmt. 2022-08-07 22:30:11 +01:00
testutil Move pkg/testutil/must.go to a new pkg/must. 2022-06-20 20:29:14 +01:00
tt interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
ui Run gofmt. 2022-08-07 22:30:11 +01:00
wcwidth Improve the wcwidth package. 2021-02-11 00:47:21 +00:00