Skip to content

Commit f34ef73

Browse files
Update packages/utils/src/lib/wal.ts
Co-authored-by: Hanna Skryl <80118140+hanna-skryl@users.noreply.github.com>
1 parent d658b0f commit f34ef73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/utils/src/lib/wal.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,10 @@ export function soratebleReadableDateString(timestampMs: string): string {
362362
* Example with groupId "20240101-120000-000" and shardId "20240101-120000-000.12345.1.1":
363363
* Full path: /base/20240101-120000-000/trace.20240101-120000-000.12345.1.1.log
364364
*
365-
* @param dir - The directory to store the shard file
366-
* @param format - The WalFormat to use for the shard file
367-
* @param groupId - The human-readable group ID (yyyymmdd-hhmmss-ms format)
368-
* @param shardId - The human-readable shard ID (readable-timestamp.pid.threadId.count format)
365+
* @param opt.dir - The directory to store the shard file
366+
* @param opt.format - The WalFormat to use for the shard file
367+
* @param opt.groupId - The human-readable group ID (yyyymmdd-hhmmss-ms format)
368+
* @param opt.shardId - The human-readable shard ID (readable-timestamp.pid.threadId.count format)
369369
* @returns The path to the shard file
370370
*/
371371
export function getShardedPath<T extends object | string = object>(opt: {

0 commit comments

Comments
 (0)