Skip to content

Commit 11a107c

Browse files
committed
Add is_directory() as a method in filesystem namespace.
1 parent 0d842b6 commit 11a107c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

filesystem/path.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,5 +543,9 @@ inline bool exists(const path& p) {
543543
return p.exists();
544544
}
545545

546+
inline bool is_directory(const path& p) {
547+
return p.is_directory();
548+
}
549+
546550

547551
NAMESPACE_END(filesystem)

0 commit comments

Comments
 (0)