Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
cdd0ccc6
Commit
cdd0ccc6
authored
Feb 28, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs/Path: rename RelativeFS() to Relative()
parent
a9188218
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Mapper.cxx
src/Mapper.cxx
+1
-1
AllocatedPath.cxx
src/fs/AllocatedPath.cxx
+1
-1
AllocatedPath.hxx
src/fs/AllocatedPath.hxx
+1
-1
Path.hxx
src/fs/Path.hxx
+1
-1
No files found.
src/Mapper.cxx
View file @
cdd0ccc6
...
...
@@ -98,7 +98,7 @@ map_fs_to_utf8(Path _path_fs)
if
(
music_dir_fs
.
IsNull
())
return
std
::
string
();
path_fs
=
music_dir_fs
.
Relative
FS
(
path_fs
);
path_fs
=
music_dir_fs
.
Relative
(
path_fs
);
if
(
path_fs
==
nullptr
||
*
path_fs
==
0
)
return
std
::
string
();
}
...
...
src/fs/AllocatedPath.cxx
View file @
cdd0ccc6
...
...
@@ -62,7 +62,7 @@ AllocatedPath::ToUTF8() const
}
const
char
*
AllocatedPath
::
Relative
FS
(
const
char
*
other_fs
)
const
AllocatedPath
::
Relative
(
const
char
*
other_fs
)
const
{
const
size_t
l
=
length
();
if
(
memcmp
(
data
(),
other_fs
,
l
)
!=
0
)
...
...
src/fs/AllocatedPath.hxx
View file @
cdd0ccc6
...
...
@@ -249,7 +249,7 @@ public:
* nullptr on mismatch.
*/
gcc_pure
const
char
*
Relative
FS
(
const
char
*
other_fs
)
const
;
const
char
*
Relative
(
const
char
*
other_fs
)
const
;
/**
* Chop trailing directory separators.
...
...
src/fs/Path.hxx
View file @
cdd0ccc6
...
...
@@ -153,7 +153,7 @@ public:
* nullptr on mismatch.
*/
gcc_pure
const_pointer
Relative
FS
(
const_pointer
other_fs
)
const
{
const_pointer
Relative
(
const_pointer
other_fs
)
const
{
return
PathTraitsFS
::
Relative
(
value
,
other_fs
);
}
...
...
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