From 528adc1a04a48a0f6cba6602e5cd1ca7abbc8ea5 Mon Sep 17 00:00:00 2001 From: Ted Nyman Date: Sat, 11 Jan 2014 14:19:46 -0800 Subject: [PATCH] Minor documentation --- lib/linguist/generated.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/linguist/generated.rb b/lib/linguist/generated.rb index de716491..14c64444 100644 --- a/lib/linguist/generated.rb +++ b/lib/linguist/generated.rb @@ -222,16 +222,14 @@ module Linguist lines[1].include?("#include ") end - # node_modules/ can contain large amounts of files, in general not meant - # for humans in pull requests. + # Internal: Is the blob part of node_modules/, which are not meant for humans in pull requests. # # Returns true or false. def node_modules? !!name.match(/node_modules\//) end - # the php composer tool generates a lock file to represent a specific dependency state. - # In general not meant for humans in pull requests. + # Internal: Is the blob a generated php composer lock file? # # Returns true or false. def composer_lock?