File: .lake/packages/lean4/src/lean/Init/System/FilePath.lean

full_name: System.instInhabitedFilePath
code: structure FilePath where
  toString : String
  deriving Inhabited, DecidableEq, Hashable
goal: Inhabited System.FilePath

full_name: System.FilePath.toString
code: structure FilePath where
  toString : String
  deriving Inhabited, DecidableEq, Hashable
goal: String

full_name: System.instHashableFilePath
code: structure FilePath where
  toString : String
  deriving Inhabited, DecidableEq, Hashable
goal: Hashable System.FilePath

full_name: System.FilePath
code: structure FilePath where
  toString : String
  deriving Inhabited, DecidableEq, Hashable
goal: Type

full_name: System.instReprFilePath
code: instance : Repr FilePath 
goal: Repr System.FilePath

full_name: System.instToStringFilePath
code: instance : ToString FilePath 
goal: ToString System.FilePath

full_name: System.FilePath.pathSeparator
code: /-- The character that separates directories. In the case where more than one character is possible, `pathSeparator` is the 'ideal' one. -/
def pathSeparator : Char 
goal: Char

full_name: System.FilePath.pathSeparators
code: /-- The list of all possible separators. -/
def pathSeparators : List Char 
goal: List Char

full_name: System.FilePath.extSeparator
code: /-- File extension character -/
def extSeparator : Char 
goal: Char

full_name: System.FilePath.exeExtension
code: def exeExtension : String 
goal: String

full_name: System.FilePath.normalize
code: def normalize (p : FilePath) : FilePath 
goal: System.FilePath

full_name: System.FilePath.isAbsolute
code: def isAbsolute (p : FilePath) : Bool 
goal: Bool

full_name: System.FilePath.isRelative
code: def isRelative (p : FilePath) : Bool 
goal: Bool

full_name: System.FilePath.join
code: def join (p sub : FilePath) : FilePath 
goal: System.FilePath

full_name: System.FilePath.instDiv
code: instance : Div FilePath 
goal: Div System.FilePath

full_name: System.FilePath.instHDivString
code: instance : HDiv FilePath String FilePath 
goal: HDiv System.FilePath String System.FilePath

full_name: _private.«.lake».packages.lean4.src.lean.Init.System.FilePath.0.System.FilePath.posOfLastSep
code: private def posOfLastSep (p : FilePath) : Option String.Pos 
goal: Option String.Pos

full_name: System.FilePath.parent
code: def parent (p : FilePath) : Option FilePath 
goal: Option System.FilePath

full_name: System.FilePath.fileName
code: def fileName (p : FilePath) : Option String 
goal: Option String

full_name: System.FilePath.fileStem
code: /-- Extracts the stem (non-extension) part of `p.fileName`. -/
def fileStem (p : FilePath) : Option String 
goal: Option String

full_name: System.FilePath.extension
code: def extension (p : FilePath) : Option String 
goal: Option String

full_name: System.FilePath.withFileName
code: def withFileName (p : FilePath) (fname : String) : FilePath 
goal: System.FilePath

full_name: System.FilePath.addExtension
code: /-- Appends the extension `ext` to a path `p`.

`ext` should not contain a leading `.`, as this function adds one.
If `ext` is the empty string, no `.` is added.

Unlike `System.FilePath.withExtension`, this does not remove any existing extension. -/
def addExtension (p : FilePath) (ext : String) : FilePath 
goal: System.FilePath

full_name: System.FilePath.withExtension
code: /-- Replace the current extension in a path `p` with `ext`.

`ext` should not contain a `.`, as this function adds one.
If `ext` is the empty string, no `.` is added. -/
def withExtension (p : FilePath) (ext : String) : FilePath 
goal: System.FilePath

full_name: System.FilePath.components
code: def components (p : FilePath) : List String 
goal: List String

full_name: System.mkFilePath
code: def mkFilePath (parts : List String) : FilePath 
goal: System.FilePath

full_name: System.instCoeStringFilePath
code: instance : Coe String FilePath 
goal: Coe String System.FilePath

full_name: System.SearchPath
code: abbrev SearchPath 
goal: Type

full_name: System.SearchPath.separator
code: /-- The character that is used to separate the entries in the $PATH (or %PATH%) environment variable. -/
protected def separator : Char 
goal: Char

full_name: System.SearchPath.parse
code: def parse (s : String) : SearchPath 
goal: System.SearchPath

full_name: System.SearchPath.toString
code: def toString (path : SearchPath) : String 
goal: String