Skip to content

Commit 6b3bf28

Browse files
committed
Move inline code snippets to code blocks
1 parent fc41c3d commit 6b3bf28

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

platform/DirHandle.h

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,18 @@ namespace mbed {
3535
* but only a subset needs to be provided.
3636
*
3737
* If a FileSystemLike class defines the opendir method, then the
38-
* directories of an object of that type can be accessed by
39-
* DIR *d = opendir("/example/directory") (or opendir("/example")
40-
* to open the root of the filesystem), and then using readdir(d) etc.
38+
* directories of an object of that type can be accessed by either:
39+
* @code
40+
* DIR *d = opendir("/example/directory");
41+
* @endcode
42+
* or
43+
* @code
44+
* DIR *d = opendir("/example");
45+
* @endcode
46+
* to open the root of the file system.
4147
*
4248
* The root directory is considered to contain all FileHandle and
43-
* FileSystem objects, so the DIR* returned by opendir("/") will
49+
* FileSystem objects, so the DIR pointer returned by opendir("/") will
4450
* reflect this.
4551
*
4652
* @note to create a directory, @see Dir

0 commit comments

Comments
 (0)