bend-kit-files
Search uses release 0.3.1.0 · 43 definitions
Definitions (43)
- def path.is_absolute
- def path.join.rel
- def path.join.if
- def path.joinb when b is absolute; otherwise b under a.
- def path.norm.pop.if
- def path.norm.popA ".." above the root is dropped; above a relative start it is kept.
- def path.norm.step
- def path.norm.goThe kept segments, last first.
- def path.norm.fin
- def path.normalizeDrops empty and "." segments and resolves "..", as POSIX normpath does (RFC 3986 §5.2.4 for paths), but always to one leading "/".
- def path.parent
- def path.file_name.fin
- def path.file_nameThe last segment of the normalized path; "" for "/" and ".".
- def path.extension.fin
- def path.extension.go
- def path.extensionThe text after the file name's last ".", without the dot.
- type FileType
- type Infomtime is whole seconds since the Unix epoch.
- def list_dir.rawEntry names, NUL-separated, in the order the OS gives them.
- def stat.raw(kind, size, mtime); kind 0 is a regular file, 1 a directory, 2 other.
- def mkdir
- def removeRemoves a file or an empty directory.
- def rename
- def temp_dirCreates a new, empty, private directory under the system temp dir.
- def read.wordsA successful zero-length read is EOF (or max = 0).
- def size64The size of an open file as (hi, lo): hi * 2^32 + lo bytes.
- def read.words.atread.words at byte offset hi * 2^32 + lo.
- def read_bytes.wrap
- def read_bytes.pair
- def read_bytesThe existing Bytes layout, without an octet List or String.
- def write.wordsWrites the entire buffer or fails.
- def write_bytes
- def list_dir.fin
- def list_dirEntry names, without "." and "..", sorted.
- def stat.kind
- def stat.fin
- def stat
- def exists
- def mkdir_all.dir
- def mkdir_all.fail
- def mkdir_all.step
- def mkdir_all.go
- def mkdir_allCreates the directory and any missing parents.