Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Sepia::Backup::BackupFile
Inherits
Struct
<
Value
<
Object
Represents a file to be included in the backup tarball
Constructors
new
(path :
String
, content :
Bytes
, type :
String
, mode :
Int64
, symlink_target :
String
|
Nil
= nil)
Source
new
(path :
String
, content_string :
String
, type :
String
, mode :
Int64
, symlink_target :
String
|
Nil
= nil)
Source
Instance methods
content
Source
content=
(content :
Bytes
)
Source
mode
Source
mode=
(mode :
Int64
)
Source
path
Source
path=
(path :
String
)
Source
symlink_target
Source
symlink_target=
(symlink_target :
String
|
Nil
)
Source
type
Source
type=
(type :
String
)
Source