mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Minor documentation
This commit is contained in:
@@ -222,16 +222,14 @@ module Linguist
|
|||||||
lines[1].include?("#include <jni.h>")
|
lines[1].include?("#include <jni.h>")
|
||||||
end
|
end
|
||||||
|
|
||||||
# node_modules/ can contain large amounts of files, in general not meant
|
# Internal: Is the blob part of node_modules/, which are not meant for humans in pull requests.
|
||||||
# for humans in pull requests.
|
|
||||||
#
|
#
|
||||||
# Returns true or false.
|
# Returns true or false.
|
||||||
def node_modules?
|
def node_modules?
|
||||||
!!name.match(/node_modules\//)
|
!!name.match(/node_modules\//)
|
||||||
end
|
end
|
||||||
|
|
||||||
# the php composer tool generates a lock file to represent a specific dependency state.
|
# Internal: Is the blob a generated php composer lock file?
|
||||||
# In general not meant for humans in pull requests.
|
|
||||||
#
|
#
|
||||||
# Returns true or false.
|
# Returns true or false.
|
||||||
def composer_lock?
|
def composer_lock?
|
||||||
|
|||||||
Reference in New Issue
Block a user