Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
99bf1558
Commit
99bf1558
authored
Dec 31, 2015
by
Hugo Beauzée-Luyssen
Browse files
Directory: cosmeticss
parent
1bc69918
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/filesystem/unix/Directory.cpp
View file @
99bf1558
...
...
@@ -59,7 +59,7 @@ const std::vector<std::string>& Directory::files()
return
m_files
;
}
const
std
::
vector
<
std
::
string
>&
Directory
::
dirs
()
const
std
::
vector
<
std
::
string
>&
Directory
::
dirs
()
{
if
(
m_dirs
.
size
()
==
0
&&
m_files
.
size
()
==
0
)
read
();
...
...
@@ -74,7 +74,7 @@ std::shared_ptr<IDevice> Directory::device() const
return
m_device
.
get
();
}
std
::
string
Directory
::
toAbsolute
(
const
std
::
string
&
path
)
std
::
string
Directory
::
toAbsolute
(
const
std
::
string
&
path
)
{
char
abs
[
PATH_MAX
];
if
(
realpath
(
path
.
c_str
(),
abs
)
==
nullptr
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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