module FastlaneCore
Constants
- Boolean
- ROOT
Public Class Methods
fastlane_user_dir()
click to toggle source
A directory that's being used to user-wide fastlane configs This directory is also used for the bundled fastlane Since we don't want to access FastlaneCore
from spaceship this method is duplicated in spaceship/client.rb
# File fastlane_core/lib/fastlane_core/module.rb, line 26 def self.fastlane_user_dir path = File.expand_path(File.join(Dir.home, ".fastlane")) FileUtils.mkdir_p(path) unless File.directory?(path) return path end
reset_session()
click to toggle source
# File fastlane_core/lib/fastlane_core/module.rb, line 18 def self.reset_session @session = nil end
session()
click to toggle source
Session is used to report usage metrics. If you opt out, we will not send anything. You can confirm this by observing how we use the environment variable: FASTLANE_OPT_OUT_USAGE Specifically, in AnalyticsSession.finalize_session
Learn more at docs.fastlane.tools/#metrics
# File fastlane_core/lib/fastlane_core/module.rb, line 14 def self.session @session ||= AnalyticsSession.new end