struct Sepia::Backup::BackupFile

Overview

Represents a file to be included in the backup tarball

Defined in:

sepia/backup.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String, content : Bytes, type : String, mode : Int64, symlink_target : String | Nil = nil) #

[View source]
def self.new(path : String, content_string : String, type : String, mode : Int64, symlink_target : String | Nil = nil) #

[View source]

Instance Method Detail

def content : Bytes #

[View source]
def content=(content : Bytes) #

[View source]
def mode : Int64 #

[View source]
def mode=(mode : Int64) #

[View source]
def path : String #

[View source]
def path=(path : String) #

[View source]
def symlink_target : String | Nil #

[View source]
def symlink_target=(symlink_target : String | Nil) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]