|
1 |
| -## Dart I/O and Command Line Apps |
| 1 | +## Writing code for the Dart VM |
| 2 | + |
| 3 | +### Dart I/O and Command Line Apps |
2 | 4 |
|
3 | 5 | * [Introduction](example/introduction.md)
|
4 | 6 |
|
5 |
| -### Files, directories, and symlinks |
| 7 | +## Files, directories, and symlinks |
| 8 | + |
6 | 9 | * [Deleting a file, directory, or symlink](example/files_directories_and_symlinks/deleting_a_file_directory_or_symlink.dart)
|
7 | 10 | * [Renaming a file, directory, or symlink](example/files_directories_and_symlinks/renaming_a_file_directory_or_symlink.dart)
|
8 | 11 | * [Finding the type of a filesystem object](example/files_directories_and_symlinks/finding_the_type_of_a_filesystem_object.dart)
|
|
11 | 14 | * [Reading a file as a string](example/files_directories_and_symlinks/files/reading_a_file_as_a_string.dart)
|
12 | 15 | * [Reading a file as lines](example/files_directories_and_symlinks/files/reading_a_file_as_lines.dart)
|
13 | 16 | * [Reading a file as bytes](example/files_directories_and_symlinks/files/reading_a_file_as_bytes.dart)
|
14 |
| -* [Using a stream to read a file](example/files_directories_and_symlinks/files/reading_a_file_using_a_stream.dart) |
15 | 17 | * [Handling errors when reading a file](example/files_directories_and_symlinks/files/handling_errors_when_reading_a_file.dart)
|
16 | 18 | * [Writing a string to a file](example/files_directories_and_symlinks/files/writing_a_string_to_a_file.dart)
|
17 | 19 | * [Writing bytes to a file](example/files_directories_and_symlinks/files/writing_bytes_to_a_file.dart)
|
|
23 | 25 | * [Checking if a path represents a symlink](example/files_directories_and_symlinks/symlinks/checking_if_a_path_represents_a_symlink.dart)
|
24 | 26 | * [Getting the target of a symlink](example/files_directories_and_symlinks/symlinks/getting_the_target_of_a_link.dart)
|
25 | 27 |
|
26 |
| -### HTTP requests and responses |
| 28 | +## HTTP requests and responses |
| 29 | + |
27 | 30 | * [Making a GET request](example/http/making_a_get_request.dart)
|
28 | 31 | * [Making a POST request](example/http/making_a_post_request.dart)
|
29 | 32 | * [Adding custom headers to a request](example/http/adding_custom_headers.dart)
|
|
34 | 37 | * [Getting the response content in binary format](example/http/getting_the_response_content_in_binary_format.dart)
|
35 | 38 | * [Getting the response headers](example/http/getting_the_response_headers.dart)
|
36 | 39 |
|
37 |
| -### HTTP server |
| 40 | +## HTTP server |
| 41 | + |
38 | 42 | * [Implementing a 'Hello world' HTTP server](example/http_server/implementing_a_hello_world_http_server.dart)
|
39 |
| -* [Listing directory contents](example/http_server/listing_directory_contents.dart) |
40 |
| -* [Serving index.html](example/http_server/serving_index_html.dart) |
41 |
| -* [Serving a 404](example/http_server/serving_a_404.dart) |
42 | 43 | * [Routing requests based on URL patterns](example/http_server/routing_requests_based_on_url_patterns.dart)
|
43 | 44 |
|
44 |
| -### Sockets |
| 45 | +## Sockets |
| 46 | + |
45 | 47 | * [Using serversockets server](example/sockets/using_serversockets_server.dart)
|
46 | 48 | * [Using serversockets client](example/sockets/using_serversockets_client.dart)
|
47 | 49 |
|
48 |
| -### Websockets |
| 50 | +## Websockets |
| 51 | + |
49 | 52 | * [Using websockets server](example/websockets/using_websockets_server.dart)
|
50 | 53 | * [Using websockets client](example/websockets/using_websockets_client.dart)
|
51 | 54 |
|
52 |
| -### OS and hardware information |
| 55 | +## OS and hardware information |
| 56 | + |
53 | 57 | * [Getting environment variables](example/platform/getting_environment_variables.dart)
|
54 | 58 | * [Identifying the operating system](example/platform/identifying_the_operating_system.dart)
|
55 | 59 | * [Getting information about the script being run](example/platform/getting_information_about_the_script_being_run.dart)
|
56 | 60 |
|
57 |
| -### Interacting with processes |
| 61 | +## Interacting with processes |
| 62 | + |
58 | 63 | * [Running a process](example/interacting_with_processes/running_a_process.dart)
|
59 | 64 | * [Obtaining the exit code when running a process](example/interacting_with_processes/obtaining_the_exit_code_when_running_a_process.dart)
|
60 | 65 |
|
61 |
| -### Working with paths |
| 66 | +## Working with paths |
| 67 | + |
62 | 68 | * [Joining paths](example/paths/joining_paths.dart)
|
63 | 69 | * [Parsing a path into components](example/paths/parsing_a_path_into_components.dart)
|
64 | 70 | * [Calculating relative paths](example/paths/calculating_relative_paths.dart)
|
65 | 71 | * [Converting between a URI and a path](example/paths/converting_between_a_uri_and_a_path.dart)
|
66 | 72 | * [Getting information about a file path](example/paths/getting_information_about_a_file_path.dart)
|
67 | 73 | * [Getting the path separator for the current platform](example/paths/getting_the_path_separator_for_the_current_platform.dart)
|
68 | 74 |
|
69 |
| -### Other resources |
| 75 | +## Other resources |
| 76 | + |
70 | 77 | * [Other resources](example/other_resources.md)
|
0 commit comments