Skip to content

Commit 99bbef0

Browse files
committed
Change stdlib_filesystem to stdlib_io_filesystem
1 parent 92aca11 commit 99bbef0

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ set(SRC
105105
stdlib_ansi_to_string.f90
106106
stdlib_codata.f90
107107
stdlib_error.f90
108-
stdlib_filesystem.f90
109108
stdlib_hashmap_wrappers.f90
110109
stdlib_hashmaps.f90
111110
stdlib_hashmap_chaining.f90
112111
stdlib_hashmap_open.f90
112+
stdlib_io_filesystem.f90
113113
stdlib_io_zip.f90
114114
stdlib_logger.f90
115115
stdlib_sorting_radix_sort.f90
@@ -124,7 +124,7 @@ set(SRC
124124

125125
# Files that have cpp directives need to be compiled with the preprocessor.
126126
set(hasCPP
127-
stdlib_filesystem.f90
127+
stdlib_io_filesystem.f90
128128
)
129129

130130
if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")

src/stdlib_filesystem.f90 renamed to src/stdlib_io_filesystem.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
! SPDX-Identifier: MIT
22

33
!> Interaction with the filesystem.
4-
module stdlib_filesystem
4+
module stdlib_io_filesystem
55
use stdlib_string_type, only: string_type
66
implicit none
77
private

src/stdlib_io_np_load.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
submodule(stdlib_io_np) stdlib_io_np_load
99
use stdlib_array
1010
use stdlib_error, only: error_stop
11-
use stdlib_filesystem, only: exists, list_dir, temp_dir
11+
use stdlib_io_filesystem, only: exists, list_dir, temp_dir
1212
use stdlib_io_zip, only: unzip, default_unzip_dir, zip_contents, zip
1313
use stdlib_strings, only: to_string, starts_with
1414
use stdlib_string_type, only: string_type, as_string => char

src/stdlib_io_np_save.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
submodule(stdlib_io_np) stdlib_io_np_save
99
use stdlib_array
1010
use stdlib_error, only: error_stop
11-
use stdlib_filesystem, only: run
11+
use stdlib_io_filesystem, only: run
12+
use stdlib_io_zip, only: zip
1213
use stdlib_strings, only: to_string
1314
use stdlib_string_type, only: string_type, as_string => char
14-
use stdlib_io_zip, only: zip
1515
implicit none
1616

1717
contains

src/stdlib_io_zip.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
!> Handling of zip files including creation and extraction.
44
module stdlib_io_zip
5-
use stdlib_filesystem, only: exists, run, temp_dir
5+
use stdlib_io_filesystem, only: exists, run, temp_dir
66
use stdlib_string_type, only: string_type, char
77
use stdlib_strings, only: starts_with
88
implicit none

test/io/test_filesystem.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module test_filesystem
2-
use stdlib_filesystem
3-
use testdrive, only : new_unittest, unittest_type, error_type, check, test_failed
2+
use stdlib_io_filesystem
43
use stdlib_string_type, only : char, string_type
4+
use testdrive, only : new_unittest, unittest_type, error_type, check, test_failed
55
implicit none
66
private
77

test/io/test_np.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module test_np
22
use stdlib_array
3-
use stdlib_filesystem, only : temp_dir, exists
4-
use stdlib_kinds, only : int8, int16, int32, int64, sp, dp
3+
use stdlib_io_filesystem, only : temp_dir, exists
54
use stdlib_io_np, only : save_npy, load_npy, load_npz, save_npz
5+
use stdlib_kinds, only : int8, int16, int32, int64, sp, dp
66
use testdrive, only : new_unittest, unittest_type, error_type, check, test_failed
77
implicit none
88
private

test/io/test_zip.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module test_zip
2-
use stdlib_filesystem, only: exists
2+
use stdlib_io_filesystem, only: exists
33
use stdlib_io_zip
44
use stdlib_string_type, only: string_type, char
55
use testdrive, only: new_unittest, unittest_type, error_type, check, test_failed

0 commit comments

Comments
 (0)