Skip to content

Commit 90f54a0

Browse files
committed
Add is_directory() as a method in filesystem namespace.
1 parent aed3776 commit 90f54a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

filesystem/path.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,5 +439,8 @@ inline bool exists(const path& p) {
439439
return p.exists();
440440
}
441441

442+
inline bool is_directory(const path& p) {
443+
return p.is_directory();
444+
}
442445

443446
NAMESPACE_END(filesystem)

0 commit comments

Comments
 (0)