-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for file which are named after the end of the period of d…
…ata they contain
- Loading branch information
Apollo3zehn
committed
Aug 26, 2024
1 parent
4b51555
commit a9a36ce
Showing
8 changed files
with
58 additions
and
9 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
Empty file.
Empty file.
15 changes: 15 additions & 0 deletions
15
tests/Nexus.Sources.StructuredFile.Tests/DATABASES/P/config.json
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 @@ | ||
{ | ||
"/A/B/C": { | ||
"default": [ | ||
{ | ||
"PathSegments": [ | ||
"'DATA'" | ||
], | ||
"FileTemplate": "yyyy-MM-ddTHH-mm-ssZ'.dat'", | ||
"FilePeriod": "00:10:00", | ||
"UtcOffset": "00:00:00", | ||
"FileNameOffset": "00:10:00" | ||
} | ||
] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"BufferOffset": 0, | ||
"FilePath": "/debug/DATABASES/P/DATA/2020-01-01T00-10-00Z.dat", | ||
"FileSource": null, | ||
"RegularFileBegin": "2020-01-01T00:00:00Z", | ||
"FileOffset": 0, | ||
"FileBlock": 600, | ||
"FileLength": 600 | ||
}, | ||
{ | ||
"BufferOffset": 600, | ||
"FilePath": "/debug/DATABASES/P/DATA/2020-01-01T00-20-00Z.dat", | ||
"FileSource": null, | ||
"RegularFileBegin": "2020-01-01T00:10:00Z", | ||
"FileOffset": 0, | ||
"FileBlock": 600, | ||
"FileLength": 600 | ||
} | ||
] |