os-lib
os-lib
API
os
/
BasePath
BasePath
BasePathImpl
Checker
Checker
Nop
CommandResult
FilePath
FilePath
FileType
FileType
Dir
File
Other
SymLink
GeneratedTupleConversions
GlobInterpolator
Interped
GlobInterpolator
Inherit
InheritRaw
Internals
Macros
Path
Path
PathAppendRedirect
PathChunk
PathChunk
ArrayPathChunk
RelPathChunk
SeqPathChunk
StringPathChunk
SubPathChunk
SymbolPathChunk
PathChunkMacros
PathConvertible
PathConvertible
JavaIoFileConvertible
NioPathConvertible
StringConvertible
UriPathConvertible
PathError
AbsolutePathOutsideRoot
InvalidSegment
LastOnEmptyPath
NoRelativePath
NonCanonicalLiteral
PathRedirect
PermSet
PermSet
Pipe
PosixStatInfo
PosixStatInfo
ProcGroup
ProcessInput
ProcessInput
SourceInput
ProcessLike
ProcessOutput
ProcessOutput
ReadBytes
Readlines
ProcessPipeline
ReadablePath
RelPath
RelPath
SeekableSource
SeekableSource
ChannelLengthSource
ChannelSource
SegmentedPath
Shellable
Shellable
Source
Source
ChannelSource
WritableSource
StatInfo
StatInfo
StringPathChunkConversion
SubPath
SubPath
SubProcess
SubProcess
InputStream
OutputStream
SubprocessException
WritableLowPri
call
copy
into
over
exists
experimental
followLink
group
set
hardlink
isDir
isFile
isLink
list
stream
makeDir
all
move
into
over
mtime
set
owner
set
perms
set
proc
read
bytes
channel
chunks
inputStream
lines
stream
stream
readLink
remove
all
size
spawn
stat
posix
symlink
temp
truncate
unzip
walk
stream
write
append
channel
append
over
over
zip
ZipRoot
ZipSource
ZipSource
os-lib
/
os
/
truncate
truncate
os.truncate
object
truncate
Truncate the given file to the given size. If the file is smaller than the given size, does nothing.
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
truncate
.type
Members list
Clear all
Value members
Concrete methods
def
apply
(
p
:
Path
,
size
:
Long
):
Unit
In this article
Attributes
Members list
Value members
Concrete methods