aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Directory.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-29 18:05:33 +0100
committerMax Kellermann <max@duempel.org>2014-01-29 18:05:33 +0100
commita137f817f5e569211afdef0134c2179fdbad507f (patch)
tree048d41a57c352e8fc399aa400dc5fff3986ba147 /src/db/Directory.hxx
parentff87145537f1d71388be8759688235a75fccf373 (diff)
downloadmpd-a137f817f5e569211afdef0134c2179fdbad507f.tar.gz
mpd-a137f817f5e569211afdef0134c2179fdbad507f.tar.xz
mpd-a137f817f5e569211afdef0134c2179fdbad507f.zip
db/Directory: move isRootDirectory() to Uri.hxx
Decouple command/OtherCommands.cxx from the "simple" database plugin.
Diffstat (limited to '')
-rw-r--r--src/db/Directory.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/db/Directory.hxx b/src/db/Directory.hxx
index e114b27f4..705826a65 100644
--- a/src/db/Directory.hxx
+++ b/src/db/Directory.hxx
@@ -239,10 +239,4 @@ public:
LightDirectory Export() const;
};
-static inline bool
-isRootDirectory(const char *name)
-{
- return name[0] == 0 || (name[0] == '/' && name[1] == 0);
-}
-
#endif