Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Houwenda committed Jul 20, 2024
2 parents f2c1335 + 6cc8d46 commit 8357ba0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Test

on:
push:
branches: [ "main" ]
branches: [ "main", "develop" ]
pull_request:
branches: [ "main" ]

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ page count: 2
entry count: 1850
entry count: 880
% cat ./output.json | tail -n 3
{"path":"private/var/log/DiagnosticMessages/StoreData\u0000","id":308039,"flags":"FSE_CONTENT_MODIFIED | FSE_IS_FILE","create_ts":1664093703,"modiy_ts":1664093703,"source":"000000000004c323"}
{"path":"private/var/log/system.log\u0000","id":308036,"flags":"FSE_CONTENT_MODIFIED | FSE_IS_FILE","create_ts":1664093703,"modiy_ts":1664093703,"source":"000000000004c323"}
{"path":"private/var/root/Library/Logs/Bluetooth/bluetoothd-hci-latest.pklg\u0000","id":309733,"flags":"FSE_CONTENT_MODIFIED | FSE_IS_FILE","create_ts":1664093703,"modiy_ts":1664093703,"source":"000000000004c323"}
{"path":"private/var/log/DiagnosticMessages/StoreData\u0000","id":308039,"flags":"FSE_CONTENT_MODIFIED | FSE_IS_FILE","create_ts":1664093703,"modify_ts":1664093703,"source":"000000000004c323"}
{"path":"private/var/log/system.log\u0000","id":308036,"flags":"FSE_CONTENT_MODIFIED | FSE_IS_FILE","create_ts":1664093703,"modify_ts":1664093703,"source":"000000000004c323"}
{"path":"private/var/root/Library/Logs/Bluetooth/bluetoothd-hci-latest.pklg\u0000","id":309733,"flags":"FSE_CONTENT_MODIFIED | FSE_IS_FILE","create_ts":1664093703,"modify_ts":1664093703,"source":"000000000004c323"}
```

Use Sqlite output format.
Expand Down
4 changes: 2 additions & 2 deletions src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub mod json {
flags: String, // flag description

create_ts: u64,
modiy_ts: u64,
modify_ts: u64,
source: String, // source archive file name
}

Expand All @@ -55,7 +55,7 @@ pub mod json {
.duration_since(UNIX_EPOCH)
.unwrap_or_default()
.as_secs(),
modiy_ts: archive
modify_ts: archive
.mtime
.duration_since(UNIX_EPOCH)
.unwrap_or_default()
Expand Down

0 comments on commit 8357ba0

Please sign in to comment.