From d5bca7d18c41ba453b45e57a05b8bc8df20e952e Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 2 Aug 2023 15:14:40 +0200 Subject: [PATCH] examples: rename examples to make more sense --- examples/{list_files.c => list_dir.c} | 2 +- examples/{list_files_ll.c => list_dir_ll.c} | 2 +- examples/meson.build | 8 ++++---- examples/read_file.c | 2 +- examples/read_file_ll.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename examples/{list_files.c => list_dir.c} (96%) rename examples/{list_files_ll.c => list_dir_ll.c} (98%) diff --git a/examples/list_files.c b/examples/list_dir.c similarity index 96% rename from examples/list_files.c rename to examples/list_dir.c index 2f8fbb61a..ce8e38d49 100644 --- a/examples/list_files.c +++ b/examples/list_dir.c @@ -1,6 +1,6 @@ /** * @author Enno Boland (mail@eboland.de) - * @file list_files.c + * @file list_dir.c * * This is an example program that lists the top level files in a squashfs * archive. diff --git a/examples/list_files_ll.c b/examples/list_dir_ll.c similarity index 98% rename from examples/list_files_ll.c rename to examples/list_dir_ll.c index 1ad5d0aba..01521d202 100644 --- a/examples/list_files_ll.c +++ b/examples/list_dir_ll.c @@ -1,6 +1,6 @@ /** * @author Enno Boland (mail@eboland.de) - * @file list_files_ll.c + * @file list_dir_ll.c * * This is an example program that lists the top level files in a squashfs * archive. It uses low level variants of the API. diff --git a/examples/meson.build b/examples/meson.build index d3b668e41..e046f4ee3 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,12 +1,12 @@ executable( - 'list_files', - 'list_files.c', + 'list_dir', + 'list_dir.c', install: false, dependencies: libsqsh_dep, ) executable( - 'list_files_ll', - 'list_files_ll.c', + 'list_dir_ll', + 'list_dir_ll.c', install: false, dependencies: libsqsh_dep, ) diff --git a/examples/read_file.c b/examples/read_file.c index 5d3b60a07..2f8f570be 100644 --- a/examples/read_file.c +++ b/examples/read_file.c @@ -1,6 +1,6 @@ /** * @author Enno Boland (mail@eboland.de) - * @file list_files.c + * @file read_file.c * * This is an example program that prints the content of a file in a squashfs * archive. diff --git a/examples/read_file_ll.c b/examples/read_file_ll.c index 18b5b5e84..b405bc5e9 100644 --- a/examples/read_file_ll.c +++ b/examples/read_file_ll.c @@ -1,6 +1,6 @@ /** * @author Enno Boland (mail@eboland.de) - * @file list_files_ll.c + * @file read_file_ll.c * * This is an example program that prints the content of a file in a squashfs * archive. It uses low level variants of the API.