minifs-pg 0.1.0a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- minifs_pg-0.1.0a1/Cargo.lock +313 -0
- minifs_pg-0.1.0a1/Cargo.toml +12 -0
- minifs_pg-0.1.0a1/LICENSE +21 -0
- minifs_pg-0.1.0a1/PKG-INFO +1121 -0
- minifs_pg-0.1.0a1/README.md +1086 -0
- minifs_pg-0.1.0a1/crates/minifs-regex/Cargo.toml +25 -0
- minifs_pg-0.1.0a1/crates/minifs-regex/src/glob.rs +613 -0
- minifs_pg-0.1.0a1/crates/minifs-regex/src/lib.rs +137 -0
- minifs_pg-0.1.0a1/crates/minifs-regex/src/oracle.rs +236 -0
- minifs_pg-0.1.0a1/crates/minifs-regex/src/translate.rs +728 -0
- minifs_pg-0.1.0a1/minifs/__init__.py +5 -0
- minifs_pg-0.1.0a1/minifs/_regex.pyi +54 -0
- minifs_pg-0.1.0a1/minifs/cli.py +223 -0
- minifs_pg-0.1.0a1/minifs/db/__init__.py +1 -0
- minifs_pg-0.1.0a1/minifs/db/errors.py +71 -0
- minifs_pg-0.1.0a1/minifs/db/migrate.py +173 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/001_baseline.sql +2 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/002_uuidv7.sql +28 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/003_vfs_nodes.sql +289 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/004_vfs_extents.sql +265 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/005_vfs_notify.sql +63 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/006_vfs_glob.sql +111 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/007_line_aware_extents.sql +489 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/008_vfs_search.sql +118 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/009_returned_errors.sql +799 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/010_lookup_chain.sql +54 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/011_line_cap.sql +158 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/012_line_stop.sql +176 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/013_pglz_extents.sql +12 -0
- minifs_pg-0.1.0a1/minifs/db/migrations/014_cache_walks.sql +135 -0
- minifs_pg-0.1.0a1/minifs/db/pool.py +154 -0
- minifs_pg-0.1.0a1/minifs/py.typed +0 -0
- minifs_pg-0.1.0a1/minifs/tools/__init__.py +39 -0
- minifs_pg-0.1.0a1/minifs/tools/_text.py +131 -0
- minifs_pg-0.1.0a1/minifs/tools/base.py +46 -0
- minifs_pg-0.1.0a1/minifs/tools/deps.py +156 -0
- minifs_pg-0.1.0a1/minifs/tools/edit.py +455 -0
- minifs_pg-0.1.0a1/minifs/tools/errors.py +58 -0
- minifs_pg-0.1.0a1/minifs/tools/glob.py +64 -0
- minifs_pg-0.1.0a1/minifs/tools/grep.py +78 -0
- minifs_pg-0.1.0a1/minifs/tools/read.py +369 -0
- minifs_pg-0.1.0a1/minifs/tools/write.py +135 -0
- minifs_pg-0.1.0a1/minifs/vfs/__init__.py +1 -0
- minifs_pg-0.1.0a1/minifs/vfs/cache.py +245 -0
- minifs_pg-0.1.0a1/minifs/vfs/client.py +925 -0
- minifs_pg-0.1.0a1/minifs/vfs/core.py +186 -0
- minifs_pg-0.1.0a1/minifs/vfs/glob.py +165 -0
- minifs_pg-0.1.0a1/minifs/vfs/policy.py +209 -0
- minifs_pg-0.1.0a1/minifs/vfs/regex.py +197 -0
- minifs_pg-0.1.0a1/minifs/vfs/search.py +227 -0
- minifs_pg-0.1.0a1/minifs/vfs/service.py +71 -0
- minifs_pg-0.1.0a1/minifs/vfs/view.py +696 -0
- minifs_pg-0.1.0a1/minifs/vfs/watch.py +495 -0
- minifs_pg-0.1.0a1/pyproject.toml +111 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "aho-corasick"
|
|
7
|
+
version = "1.1.5"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "bstr"
|
|
16
|
+
version = "1.13.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
|
|
19
|
+
dependencies = [
|
|
20
|
+
"memchr",
|
|
21
|
+
"serde_core",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[[package]]
|
|
25
|
+
name = "crossbeam-deque"
|
|
26
|
+
version = "0.8.8"
|
|
27
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
28
|
+
checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
|
|
29
|
+
dependencies = [
|
|
30
|
+
"crossbeam-epoch",
|
|
31
|
+
"crossbeam-utils",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
[[package]]
|
|
35
|
+
name = "crossbeam-epoch"
|
|
36
|
+
version = "0.9.21"
|
|
37
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
38
|
+
checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
|
|
39
|
+
dependencies = [
|
|
40
|
+
"crossbeam-utils",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[[package]]
|
|
44
|
+
name = "crossbeam-utils"
|
|
45
|
+
version = "0.8.23"
|
|
46
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
47
|
+
checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
48
|
+
|
|
49
|
+
[[package]]
|
|
50
|
+
name = "globset"
|
|
51
|
+
version = "0.4.20"
|
|
52
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
53
|
+
checksum = "07c34a9410465b45bd9787443bc7370f37735bad04b0f0cd57ff1a3186c98988"
|
|
54
|
+
dependencies = [
|
|
55
|
+
"aho-corasick",
|
|
56
|
+
"bstr",
|
|
57
|
+
"log",
|
|
58
|
+
"regex-automata",
|
|
59
|
+
"regex-syntax",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[[package]]
|
|
63
|
+
name = "heck"
|
|
64
|
+
version = "0.5.0"
|
|
65
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
66
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
67
|
+
|
|
68
|
+
[[package]]
|
|
69
|
+
name = "ignore"
|
|
70
|
+
version = "0.4.33"
|
|
71
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
72
|
+
checksum = "00b69833ed729dc5aa7d19541d96d6cf8e9137194207a04916d658e43168402f"
|
|
73
|
+
dependencies = [
|
|
74
|
+
"crossbeam-deque",
|
|
75
|
+
"globset",
|
|
76
|
+
"log",
|
|
77
|
+
"memchr",
|
|
78
|
+
"regex-automata",
|
|
79
|
+
"same-file",
|
|
80
|
+
"walkdir",
|
|
81
|
+
"winapi-util",
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "libc"
|
|
86
|
+
version = "0.2.191"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "log"
|
|
92
|
+
version = "0.4.34"
|
|
93
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "memchr"
|
|
98
|
+
version = "2.8.3"
|
|
99
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
101
|
+
|
|
102
|
+
[[package]]
|
|
103
|
+
name = "minifs-regex"
|
|
104
|
+
version = "0.1.0-alpha.1"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"globset",
|
|
107
|
+
"ignore",
|
|
108
|
+
"pyo3",
|
|
109
|
+
"regex",
|
|
110
|
+
"regex-syntax",
|
|
111
|
+
]
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "once_cell"
|
|
115
|
+
version = "1.21.4"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
118
|
+
|
|
119
|
+
[[package]]
|
|
120
|
+
name = "portable-atomic"
|
|
121
|
+
version = "1.15.0"
|
|
122
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
123
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
124
|
+
|
|
125
|
+
[[package]]
|
|
126
|
+
name = "proc-macro2"
|
|
127
|
+
version = "1.0.107"
|
|
128
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
129
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
130
|
+
dependencies = [
|
|
131
|
+
"unicode-ident",
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
[[package]]
|
|
135
|
+
name = "pyo3"
|
|
136
|
+
version = "0.30.1"
|
|
137
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
139
|
+
dependencies = [
|
|
140
|
+
"libc",
|
|
141
|
+
"once_cell",
|
|
142
|
+
"portable-atomic",
|
|
143
|
+
"pyo3-build-config",
|
|
144
|
+
"pyo3-ffi",
|
|
145
|
+
"pyo3-macros",
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "pyo3-build-config"
|
|
150
|
+
version = "0.30.1"
|
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
153
|
+
dependencies = [
|
|
154
|
+
"target-lexicon",
|
|
155
|
+
]
|
|
156
|
+
|
|
157
|
+
[[package]]
|
|
158
|
+
name = "pyo3-ffi"
|
|
159
|
+
version = "0.30.1"
|
|
160
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
162
|
+
dependencies = [
|
|
163
|
+
"libc",
|
|
164
|
+
"pyo3-build-config",
|
|
165
|
+
]
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "pyo3-macros"
|
|
169
|
+
version = "0.30.1"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
172
|
+
dependencies = [
|
|
173
|
+
"proc-macro2",
|
|
174
|
+
"pyo3-macros-backend",
|
|
175
|
+
"quote",
|
|
176
|
+
"syn",
|
|
177
|
+
]
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "pyo3-macros-backend"
|
|
181
|
+
version = "0.30.1"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
184
|
+
dependencies = [
|
|
185
|
+
"heck",
|
|
186
|
+
"proc-macro2",
|
|
187
|
+
"quote",
|
|
188
|
+
"syn",
|
|
189
|
+
]
|
|
190
|
+
|
|
191
|
+
[[package]]
|
|
192
|
+
name = "quote"
|
|
193
|
+
version = "1.0.47"
|
|
194
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
195
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
196
|
+
dependencies = [
|
|
197
|
+
"proc-macro2",
|
|
198
|
+
]
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "regex"
|
|
202
|
+
version = "1.13.1"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
205
|
+
dependencies = [
|
|
206
|
+
"aho-corasick",
|
|
207
|
+
"memchr",
|
|
208
|
+
"regex-automata",
|
|
209
|
+
"regex-syntax",
|
|
210
|
+
]
|
|
211
|
+
|
|
212
|
+
[[package]]
|
|
213
|
+
name = "regex-automata"
|
|
214
|
+
version = "0.4.18"
|
|
215
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
216
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
217
|
+
dependencies = [
|
|
218
|
+
"aho-corasick",
|
|
219
|
+
"memchr",
|
|
220
|
+
"regex-syntax",
|
|
221
|
+
]
|
|
222
|
+
|
|
223
|
+
[[package]]
|
|
224
|
+
name = "regex-syntax"
|
|
225
|
+
version = "0.8.11"
|
|
226
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
228
|
+
|
|
229
|
+
[[package]]
|
|
230
|
+
name = "same-file"
|
|
231
|
+
version = "1.0.6"
|
|
232
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
234
|
+
dependencies = [
|
|
235
|
+
"winapi-util",
|
|
236
|
+
]
|
|
237
|
+
|
|
238
|
+
[[package]]
|
|
239
|
+
name = "serde_core"
|
|
240
|
+
version = "1.0.229"
|
|
241
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
243
|
+
dependencies = [
|
|
244
|
+
"serde_derive",
|
|
245
|
+
]
|
|
246
|
+
|
|
247
|
+
[[package]]
|
|
248
|
+
name = "serde_derive"
|
|
249
|
+
version = "1.0.229"
|
|
250
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
252
|
+
dependencies = [
|
|
253
|
+
"proc-macro2",
|
|
254
|
+
"quote",
|
|
255
|
+
"syn",
|
|
256
|
+
]
|
|
257
|
+
|
|
258
|
+
[[package]]
|
|
259
|
+
name = "syn"
|
|
260
|
+
version = "3.0.9"
|
|
261
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
263
|
+
dependencies = [
|
|
264
|
+
"proc-macro2",
|
|
265
|
+
"quote",
|
|
266
|
+
"unicode-ident",
|
|
267
|
+
]
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "target-lexicon"
|
|
271
|
+
version = "0.13.5"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "unicode-ident"
|
|
277
|
+
version = "1.0.27"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
280
|
+
|
|
281
|
+
[[package]]
|
|
282
|
+
name = "walkdir"
|
|
283
|
+
version = "2.5.0"
|
|
284
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
|
286
|
+
dependencies = [
|
|
287
|
+
"same-file",
|
|
288
|
+
"winapi-util",
|
|
289
|
+
]
|
|
290
|
+
|
|
291
|
+
[[package]]
|
|
292
|
+
name = "winapi-util"
|
|
293
|
+
version = "0.1.11"
|
|
294
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
295
|
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
296
|
+
dependencies = [
|
|
297
|
+
"windows-sys",
|
|
298
|
+
]
|
|
299
|
+
|
|
300
|
+
[[package]]
|
|
301
|
+
name = "windows-link"
|
|
302
|
+
version = "0.2.1"
|
|
303
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
305
|
+
|
|
306
|
+
[[package]]
|
|
307
|
+
name = "windows-sys"
|
|
308
|
+
version = "0.61.2"
|
|
309
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
310
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
311
|
+
dependencies = [
|
|
312
|
+
"windows-link",
|
|
313
|
+
]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 vdavamse
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|