Theta Media v0.1.0 ThetaMedia.Base
base: "/Users/uploads"
url: "uploads"
root: 3
dirs: [dirA,dirB] files: [file1, file2]
Link to this section Summary
Functions
Returns the object of Base with change base.
Returns the object of Base.
Returns the object of Base with change base.
Link to this section Functions
Link to this function
into(base, string)
Returns the object of Base with change base.
Examples
iex> into(string)
%ThetaMedia.Base{
base: "uploads/string"
root: 1
dirs: []
files: []
url: ""
}
Link to this function
new()
Returns the object of Base.
Examples
iex> new()
%ThetaMedia.Base{
base: "/User/uploads"
url: "uploads"
root: 3
dirs: []
files: []
}
Link to this function
outgo(base)
Returns the object of Base with change base.
Examples
base = %ThetaMedia.Base{
base: "/User/uploads/string"
url: "uploads/string"
root: 3
dirs: []
files: []
}
iex> outgo(base)
%ThetaMedia.Base{
base: "/User/uploads"
url: "uploads"
root: 1
dirs: []
files: []
}