Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Mar 13, 2024
1 parent e5ae77c commit 6d6c00a
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 0 deletions.
76 changes: 76 additions & 0 deletions crates/core/tests/snapshots/integration__backup-tar-tree-nix.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
source: crates/core/tests/integration.rs
expression: tree
---
Tree(
nodes: [
{
"name": "empty-file",
"type": "file",
"mode": Some(420),
"mtime": Some("2014-11-30T15:03:11Z"),
"atime": Some("2014-11-30T15:03:11Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"links": 1,
"content": "[content_id]",
},
{
"name": "testfile",
"type": "file",
"mode": Some(420),
"mtime": Some("2014-08-09T12:14:20Z"),
"atime": Some("2014-08-09T12:14:20Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"size": 21,
"links": 2,
"content": "[content_id]",
},
{
"name": "testfile-hardlink",
"type": "file",
"mode": Some(420),
"mtime": Some("2014-08-09T12:14:20Z"),
"atime": Some("2014-08-09T12:14:20Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"size": 21,
"links": 2,
"content": "[content_id]",
},
{
"name": "testfile-symlink",
"type": "symlink",
"linktarget": "testfile",
"mode": Some(134218239),
"mtime": Some("2014-08-09T12:14:28Z"),
"atime": Some("2014-08-09T12:14:28Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"size": 8,
"links": 1,
"content": "[content_id]",
},
],
)
76 changes: 76 additions & 0 deletions crates/core/tests/snapshots/integration__dryrun-tar-tree-nix.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
source: crates/core/tests/integration.rs
expression: tree
---
Tree(
nodes: [
{
"name": "empty-file",
"type": "file",
"mode": Some(420),
"mtime": Some("2014-11-30T15:03:11Z"),
"atime": Some("2014-11-30T15:03:11Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"links": 1,
"content": "[content_id]",
},
{
"name": "testfile",
"type": "file",
"mode": Some(420),
"mtime": Some("2014-08-09T12:14:20Z"),
"atime": Some("2014-08-09T12:14:20Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"size": 21,
"links": 2,
"content": "[content_id]",
},
{
"name": "testfile-hardlink",
"type": "file",
"mode": Some(420),
"mtime": Some("2014-08-09T12:14:20Z"),
"atime": Some("2014-08-09T12:14:20Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"size": 21,
"links": 2,
"content": "[content_id]",
},
{
"name": "testfile-symlink",
"type": "symlink",
"linktarget": "testfile",
"mode": Some(134218239),
"mtime": Some("2014-08-09T12:14:28Z"),
"atime": Some("2014-08-09T12:14:28Z"),
"ctime": "[ctime]",
"uid": "[uid]",
"gid": "[gid]",
"user": "[user]",
"group": "[group]",
"inode": "[inode]",
"device_id": "[device_id]",
"size": 8,
"links": 1,
"content": "[content_id]",
},
],
)

0 comments on commit 6d6c00a

Please sign in to comment.