Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
c870e31a
Commit
c870e31a
authored
4 months ago
by
timothycarambat
Browse files
Options
Downloads
Patches
Plain Diff
add `ino` filetype to text/plain support
parent
79ce26de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
collector/utils/files/mime.js
+2
-1
2 additions, 1 deletion
collector/utils/files/mime.js
with
2 additions
and
1 deletion
collector/utils/files/mime.js
+
2
−
1
View file @
c870e31a
...
@@ -38,6 +38,7 @@ class MimeDetector {
...
@@ -38,6 +38,7 @@ class MimeDetector {
"
pas
"
,
"
pas
"
,
"
r
"
,
"
r
"
,
"
go
"
,
"
go
"
,
"
ino
"
,
],
],
},
},
true
true
...
@@ -47,7 +48,7 @@ class MimeDetector {
...
@@ -47,7 +48,7 @@ class MimeDetector {
// These are file types that are not detected by the mime library and need to be processed as text files.
// These are file types that are not detected by the mime library and need to be processed as text files.
// You should only add file types that are not detected by the mime library, are parsable as text, and are files
// You should only add file types that are not detected by the mime library, are parsable as text, and are files
// with no extension. Otherwise, their extension should be added to the overrides array.
// with no extension. Otherwise, their extension should be added to the overrides array.
#specialTextFileTypes
=
[
"
dockerfile
"
,
"
jenkinsfile
"
];
#specialTextFileTypes
=
[
"
dockerfile
"
,
"
jenkinsfile
"
,
"
dockerignore
"
];
/**
/**
* Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file.
* Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment