-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
265 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
crates/core/tests/snapshots/integration__find-matching-existing-nix.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
([ | ||
"test/0/tests/testfile", | ||
], [ | ||
[ | ||
(0, 0), | ||
], | ||
]) |
11 changes: 11 additions & 0 deletions
11
crates/core/tests/snapshots/integration__find-matching-existing-windows.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
([ | ||
"test\\0\\tests\\testfile", | ||
], [ | ||
[ | ||
(0, 0), | ||
], | ||
]) |
11 changes: 11 additions & 0 deletions
11
crates/core/tests/snapshots/integration__find-matching-nodes-not-found-nix.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
FindMatches( | ||
paths: [], | ||
nodes: [], | ||
matches: [ | ||
[], | ||
], | ||
) |
11 changes: 11 additions & 0 deletions
11
crates/core/tests/snapshots/integration__find-matching-nodes-not-found-windows.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
FindMatches( | ||
paths: [], | ||
nodes: [], | ||
matches: [ | ||
[], | ||
], | ||
) |
15 changes: 15 additions & 0 deletions
15
crates/core/tests/snapshots/integration__find-matching-wildcard-existing-nix.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
([ | ||
"test/0/tests/testfile", | ||
"test/0/tests/testfile-hardlink", | ||
"test/0/tests/testfile-symlink", | ||
], [ | ||
[ | ||
(0, 0), | ||
(1, 1), | ||
(2, 2), | ||
], | ||
]) |
15 changes: 15 additions & 0 deletions
15
crates/core/tests/snapshots/integration__find-matching-wildcard-existing-windows.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
([ | ||
"test\\0\\tests\\testfile", | ||
"test\\0\\tests\\testfile-hardlink", | ||
"test\\0\\tests\\testfile-symlink", | ||
], [ | ||
[ | ||
(0, 0), | ||
(1, 1), | ||
(2, 2), | ||
], | ||
]) |
7 changes: 7 additions & 0 deletions
7
crates/core/tests/snapshots/integration__find-nodes-existing-nix.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
[ | ||
Some(0), | ||
] |
7 changes: 7 additions & 0 deletions
7
crates/core/tests/snapshots/integration__find-nodes-existing-windows.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
[ | ||
Some(0), | ||
] |
10 changes: 10 additions & 0 deletions
10
crates/core/tests/snapshots/integration__find-nodes-not-found-nix.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
FindNode( | ||
nodes: [], | ||
matches: [ | ||
None, | ||
], | ||
) |
10 changes: 10 additions & 0 deletions
10
crates/core/tests/snapshots/integration__find-nodes-not-found-windows.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
source: crates/core/tests/integration.rs | ||
expression: snap | ||
--- | ||
FindNode( | ||
nodes: [], | ||
matches: [ | ||
None, | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "find" | ||
version = "0.1.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
globset = "0.4.14" | ||
rustic_backend = { workspace = true } | ||
rustic_core = { workspace = true } | ||
simplelog = { workspace = true } | ||
|
||
[[example]] | ||
name = "find" |
Oops, something went wrong.