common-build
common-build
API
com.malliina.build
AppLogger
FileIO
Mode
Mode
Dev
Prod
common-build
/
com.malliina.build
/
FileIO
FileIO
com.malliina.build.FileIO$
object
FileIO
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
FileIO
.type
Clear all
Members list
Concise view
Value members
Concrete methods
def
base64
(
file
:
Path
):
String
def
copy
(
from
:
Path
,
to
:
Path
):
Unit
def
copyIfChanged
(
from
:
Path
,
to
:
Path
):
Boolean
def
dataUri
(
file
:
Path
):
String
def
deleteDirectory
(
dir
:
Path
):
Path
def
gzip
(
src
:
Path
,
dest
:
Path
):
Unit
def
isSameContent
(
content
:
String
,
file
:
Path
):
Boolean
def
md5
(
file
:
Path
):
String
def
mismatch
(
content
:
String
,
file
:
Path
):
Boolean
def
using
[
T
<:
AutoCloseable
,
U
](
res
:
T
)(
code
:
T
=>
U
):
U
def
write
(
bytes
:
Array
[
Byte
],
to
:
Path
):
Path
def
write
(
in
:
InputStream
,
to
:
Path
):
StorageSize
def
writeIfChanged
(
content
:
String
,
to
:
Path
):
Boolean
def
writeIfNotExists
(
in
:
InputStream
,
to
:
Path
):
Option
[
StorageSize
]
def
writeJson
[
T
:
Encoder
](
t
:
T
,
to
:
Path
):
Path
def
writeLines
(
lines
:
Seq
[
String
],
to
:
Path
):
Path
Concrete fields
val
log
:
Logger