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
1bb22f11
Commit
1bb22f11
authored
Oct 26, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs/StandardDirectory: add more pure/const attributes
parent
552c30ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
StandardDirectory.hxx
src/fs/StandardDirectory.hxx
+7
-1
No files found.
src/fs/StandardDirectory.hxx
View file @
1bb22f11
...
...
@@ -25,19 +25,21 @@
/**
* Obtains configuration directory for the current user.
*/
[[
gnu
::
const
]]
AllocatedPath
GetUserConfigDir
()
noexcept
;
/**
* Obtains music directory for the current user.
*/
[[
gnu
::
const
]]
AllocatedPath
GetUserMusicDir
()
noexcept
;
/**
* Obtains cache directory for the current user.
*/
[[
gnu
::
pure
]]
[[
gnu
::
const
]]
AllocatedPath
GetUserCacheDir
()
noexcept
;
...
...
@@ -46,6 +48,7 @@ GetUserCacheDir() noexcept;
/**
* Obtains system configuration directory.
*/
[[
gnu
::
const
]]
AllocatedPath
GetSystemConfigDir
()
noexcept
;
...
...
@@ -54,6 +57,7 @@ GetSystemConfigDir() noexcept;
* Application base directory is a directory that contains 'bin' folder
* for current executable.
*/
[[
gnu
::
const
]]
AllocatedPath
GetAppBaseDir
()
noexcept
;
...
...
@@ -62,12 +66,14 @@ GetAppBaseDir() noexcept;
/**
* Obtains home directory for the current user.
*/
[[
gnu
::
const
]]
AllocatedPath
GetHomeDir
()
noexcept
;
/**
* Obtains home directory for the specified user.
*/
[[
gnu
::
pure
]]
AllocatedPath
GetHomeDir
(
const
char
*
user_name
)
noexcept
;
...
...
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