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
f8d114be
Commit
f8d114be
authored
Feb 05, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/UpdateIO: add "pure" attributes
parent
2c70251d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
UpdateIO.hxx
src/db/update/UpdateIO.hxx
+4
-0
No files found.
src/db/update/UpdateIO.hxx
View file @
f8d114be
...
...
@@ -21,6 +21,7 @@
#define MPD_UPDATE_IO_HXX
#include "check.h"
#include "Compiler.h"
#include <sys/stat.h>
...
...
@@ -33,9 +34,11 @@ int
stat_directory_child
(
const
Directory
&
parent
,
const
char
*
name
,
struct
stat
*
st
);
gcc_pure
bool
directory_exists
(
const
Directory
&
directory
);
gcc_pure
bool
directory_child_is_regular
(
const
Directory
&
directory
,
const
char
*
name_utf8
);
...
...
@@ -43,6 +46,7 @@ directory_child_is_regular(const Directory &directory,
/**
* Checks if the given permissions on the mapped file are given.
*/
gcc_pure
bool
directory_child_access
(
const
Directory
&
directory
,
const
char
*
name
,
int
mode
);
...
...
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