Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
89bd96c3
Commit
89bd96c3
authored
Aug 22, 2016
by
Hugo Beauzée-Luyssen
Browse files
fs: unix: Ignore hidden folders
parent
ad5c1219
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/filesystem/unix/Directory.cpp
View file @
89bd96c3
...
...
@@ -62,11 +62,9 @@ void Directory::read() const
while
(
(
result
=
readdir
(
dir
.
get
()
)
)
!=
nullptr
)
{
if
(
strcmp
(
result
->
d_name
,
"."
)
==
0
||
strcmp
(
result
->
d_name
,
".."
)
==
0
)
{
if
(
result
->
d_name
==
nullptr
||
result
->
d_name
[
0
]
==
'.'
)
continue
;
}
std
::
string
path
=
m_path
+
"/"
+
result
->
d_name
;
struct
stat
s
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment