struct Zap::Commands::Install::Protocol::PathInfo

Defined in:

commands/install/protocol/base.cr
commands/install/protocol/file/file._spec.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(base_directory : String, path : Path) #

[View source]

Class Method Detail

def self.from_str(str : String, base_directory : String) : PathInfo | Nil #

[View source]

Instance Method Detail

def base_directory : String #

def clone #

[View source]
def copy_with(base_directory _base_directory = @base_directory, path _path = @path) #

[View source]
def dir=(dir : Bool | Nil) #

[View source]
def dir? : Bool #

[View source]
def exists : Bool #

[View source]
def file=(file : Bool | Nil) #

[View source]
def file? : Bool #

[View source]
def path : Path #

def relative_path #

[View source]