You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/app/web/statics/app.placeholder.js
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -336,6 +336,23 @@
336
336
},
337
337
})
338
338
: null),
339
+
//Code snippet
340
+
...(set.plugins.enabled.code
341
+
? ({
342
+
code: {
343
+
snippet: {
344
+
sha: faker.git.shortSha(),
345
+
message: faker.lorem.sentence(),
346
+
filename: 'docs/specifications.html',
347
+
status: "modified",
348
+
additions: faker.datatype.number(50),
349
+
deletions: faker.datatype.number(50),
350
+
patch: `<span class="token coord">@@ -0,0 +1,5 @@</span><br> //Imports<br><span class="token inserted">+ import app from "./src/app.mjs"</span><br><span class="token deleted">- import app from "./src/app.js"</span><br> //Start app<br> await app()<br>\\ No newline at end of file`,
> ⚠️ When improperly configured, this plugin could display private code. If you work with sensitive data or company code, it is advised to keep this plugin disabled. *Metrics* and its authors cannot be held responsible for any resulting code leaks, use at your own risk.
4
+
5
+
Display a random code snippet from your recent activity history.
Copy file name to clipboardExpand all lines: source/plugins/languages/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ If you work a lot with other people, these numbers may be less representative of
30
30
31
31
The `plugin_languages_indepth` option lets you get more accurate metrics by cloning each repository you contributed to, running [github/linguist](https://github.com/github/linguist) on it and then iterating over patches matching your username from `git log`. This method is slower than the first one.
32
32
33
-
> ⚠️ Although *metrics* does not send any code to external sources, you must understand that when using this option repositories are cloned locally temporarly on the GitHub Action runner. If you work with sensitive data or company code, it is advised to keep this option disabled. *Metrics* and its authors cannot be held responsible for any eventual code leaks, use at your own risk.
33
+
> ⚠️ Although *metrics* does not send any code to external sources, you must understand that when using this option repositories are cloned locally temporarly on the GitHub Action runner. If you work with sensitive data or company code, it is advised to keep this option disabled. *Metrics* and its authors cannot be held responsible for any resulting code leaks, use at your own risk.
34
34
> Source code is available for auditing at [analyzers.mjs](/source/plugins/languages/analyzers.mjs)
35
35
36
36
> 🔣 On web instances, `indepth` is an extra feature and must be enabled globally in `settings.json`
0 commit comments