File
- Kind
- class
- Module
File
Source: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
The entries of File in the Crystal reference. This page has 68 cards.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
chmod(permissions : Int | Permissions) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
chown(uid : Int = -1, gid : Int = -1) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
delete
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
inspect(io : IO) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
path
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
read_at(offset, bytesize, & : IO -> )
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
rename(new_filename : Path | String) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
size
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
touch(time : Time = Time.utc) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
truncate(size = 0) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
utime(atime : Time, mtime : Time) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
basename(path : Path | String, suffix : String) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
chmod(path : Path | String, permissions : Int | Permissions) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
chown(path : Path | String, uid : Int = -1, gid : Int = -1, follow_symlinks = false) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
copy(src : String | Path, dst : String | Path) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
delete(path : Path | String) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
delete?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
directory?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
dirname(path : Path | String) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
each_line(filename : Path | String, encoding = nil, invalid = nil, chomp = true, blocking = nil, &)
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
empty?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
executable?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
exists?(path : Path | String, *, follow_symlinks : Bool = true) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
expand_path(path : Path | String, dir = nil, *, home = false) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
extname(filename : Path | String) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
file?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
info(path : Path | String, follow_symlinks = true) : Info
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
info?(path : Path | String, follow_symlinks = true) : Info | Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
join(parts : Enumerable) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
link(old_path : Path | String, new_path : Path | String) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
match?(pattern : String, path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
new(filename : Path | String, mode = "r", perm = DEFAULT_CREATE_PERMISSIONS, encoding = nil, invalid = nil, blocking = nil)
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
open(filename : Path | String, mode = "r", perm = DEFAULT_CREATE_PERMISSIONS, encoding = nil, invalid = nil, blocking = nil) : self
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
read(filename : Path | String, encoding = nil, invalid = nil, blocking = nil) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
read_lines(filename : Path | String, encoding = nil, invalid = nil, chomp = true, blocking = nil) : Array(String)
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
readable?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
readlink(path : Path | String) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
readlink?(path : Path | String) : String | Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
real_path(path : Path | String) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
realpath(path : Path | String) : String
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
rename(old_filename : Path | String, new_filename : Path | String) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
same?(path1 : Path | String, path2 : Path | String, follow_symlinks = false) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
same_content?(path1 : Path | String, path2 : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
size(filename : Path | String) : Int64
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
symlink(old_path : Path | String, new_path : Path | String) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
symlink?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
tempfile(prefix : String | Nil, suffix : String | Nil, *, dir : String = Dir.tempdir, encoding = nil, invalid = nil)
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
tempname(prefix : String | Nil, suffix : String | Nil, *, dir : String = Dir.tempdir)
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
touch(filename : Path | String, time : Time = Time.utc) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
utime(atime : Time, mtime : Time, filename : Path | String) : Nil
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
writable?(path : Path | String) : Bool
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
write(filename : Path | String, content, perm = DEFAULT_CREATE_PERMISSIONS, encoding = nil, invalid = nil, mode = "w", blocking = nil)
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.
FileSource: crystal-lang.org, crystal-lang.org. JSON record. This entry is a card. Help write this page.