Skip to content

Instantly share code, notes, and snippets.

@lrstanley
Created September 23, 2020 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrstanley/705f326fcce8b4e69994a77c5d18833c to your computer and use it in GitHub Desktop.
Save lrstanley/705f326fcce8b4e69994a77c5d18833c to your computer and use it in GitHub Desktop.
src-todo sample output
{
"results":{
"started_timestamp":"2020-09-22T20:35:44.0279098-04:00",
"completed_timestamp":"2020-09-22T20:35:44.4228067-04:00",
"clone_milliseconds":387,
"processing_milliseconds":6,
"log_output":"Enumerating objects: 33, done.\nCounting objects: 3% (1/33)\rCounting objects: 6% (2/33)\rCounting objects: 9% (3/33)\rCounting objects: 12% (4/33)\rCounting objects: 15% (5/33)\rCounting objects: 18% (6/33)\rCounting objects: 21% (7/33)\rCounting objects: 24% (8/33)\rCounting objects: 27% (9/33)\rCounting objects: 30% (10/33)\rCounting objects: 33% (11/33)\rCounting objects: 36% (12/33)\rCounting objects: 39% (13/33)\rCounting objects: 42% (14/33)\rCounting objects: 45% (15/33)\rCounting objects: 48% (16/33)\rCounting objects: 51% (17/33)\rCounting objects: 54% (18/33)\rCounting objects: 57% (19/33)\rCounting objects: 60% (20/33)\rCounting objects: 63% (21/33)\rCounting objects: 66% (22/33)\rCounting objects: 69% (23/33)\rCounting objects: 72% (24/33)\rCounting objects: 75% (25/33)\rCounting objects: 78% (26/33)\rCounting objects: 81% (27/33)\rCounting objects: 84% (28/33)\rCounting objects: 87% (29/33)\rCounting objects: 90% (30/33)\rCounting objects: 93% (31/33)\rCounting objects: 96% (32/33)\rCounting objects: 100% (33/33)\rCounting objects: 100% (33/33), done.\nCompressing objects: 3% (1/30)\rCompressing objects: 6% (2/30)\rCompressing objects: 10% (3/30)\rCompressing objects: 13% (4/30)\rCompressing objects: 16% (5/30)\rCompressing objects: 20% (6/30)\rCompressing objects: 23% (7/30)\rCompressing objects: 26% (8/30)\rCompressing objects: 30% (9/30)\rCompressing objects: 33% (10/30)\rCompressing objects: 36% (11/30)\rCompressing objects: 40% (12/30)\rCompressing objects: 43% (13/30)\rCompressing objects: 46% (14/30)\rCompressing objects: 50% (15/30)\rCompressing objects: 53% (16/30)\rCompressing objects: 56% (17/30)\rCompressing objects: 60% (18/30)\rCompressing objects: 63% (19/30)\rCompressing objects: 66% (20/30)\rCompressing objects: 70% (21/30)\rCompressing objects: 73% (22/30)\rCompressing objects: 76% (23/30)\rCompressing objects: 80% (24/30)\rCompressing objects: 83% (25/30)\rCompressing objects: 86% (26/30)\rCompressing objects: 90% (27/30)\rCompressing objects: 93% (28/30)\rCompressing objects: 96% (29/30)\rCompressing objects: 100% (30/30)\rCompressing objects: 100% (30/30), done.\nTotal 33 (delta 1), reused 4 (delta 0), pack-reused 0\n",
"repo_ref":"",
"repo_commit":"",
"total_file_count":30,
"ref_file_count":6,
"ref_file_count_bucket":{
"builtin.go":1,
"cap.go":2,
"client.go":1,
"ctcp.go":1,
"format.go":2,
"state.go":1
},
"total_ref_count":8,
"total_ref_count_bucket":{
"NOTE":3,
"TODO":5
},
"crawl_error":null,
"refs":[
{
"token":"TODO",
"file":"cap.go",
"line":127,
"column":5,
"text":"test the deletion.",
"authors":[
]
},
{
"token":"TODO",
"file":"cap.go",
"line":141,
"column":3,
"text":"test the addition.",
"authors":[
]
},
{
"token":"TODO",
"file":"builtin.go",
"line":198,
"column":3,
"text":"does this work if it's not the bot?",
"authors":[
]
},
{
"token":"TODO",
"file":"ctcp.go",
"line":170,
"column":3,
"text":"Needs proper testing. if wildcard.",
"authors":[
]
},
{
"token":"NOTE",
"file":"client.go",
"line":360,
"column":3,
"text":"servers may delay showing of QUIT reasons, until you've been connected to server for a certain period of time (e.g. 5 minutes). Keep this in mind.",
"authors":[
]
},
{
"token":"NOTE",
"file":"format.go",
"line":159,
"column":3,
"text":"If you are using this to validate a channel that contains a channel , (!\u003cchannelid\u003eNAME), this only supports the standard 5 character length.",
"authors":[
]
},
{
"token":"NOTE",
"file":"format.go",
"line":162,
"column":3,
"text":"If you do not need to validate against servers that support unicode, may want to ensure that all channel chars are within the range of ASCII printable chars. This function will NOT do that for reasons.",
"authors":[
]
},
{
"token":"TODO",
"file":"state.go",
"line":41,
"column":4,
"text":"ideally, this would be a configurable policy store that the user could override (to store STS information on disk, memory, etc).",
"authors":[
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment