std.Build.Cache.Path
The entries of std.Build.Cache.Path in the Zig reference. This page has 29 cards.
pub fn access(p: Path, io: Io, sub_path: []const u8, flags: Io.Dir.AccessOptions) !void
- Kind
- function
- Module
std.Build.Cache.Path
pub fn atomicFile(p: Path, io: Io, sub_path: []const u8, options: Io.Dir.CreateFileAtomicOptions, buf: *[Io.Dir.max_path_bytes]u8) !Io.File.Atomic
- Kind
- function
- Module
std.Build.Cache.Path
pub fn basename(p: Path) []const u8
- Kind
- function
- Module
std.Build.Cache.Path
pub fn clone(p: Path, arena: Allocator) Allocator.Error!Path
- Kind
- function
- Module
std.Build.Cache.Path
pub fn createDirPath(p: Path, io: Io, sub_path: []const u8) !void
- Kind
- function
- Module
std.Build.Cache.Path
pub fn createDirPathOpen(p: Path, io: Io, sub_path: []const u8, opts: Io.Dir.CreateDirPathOpenOptions) !Io.Dir
- Kind
- function
- Module
std.Build.Cache.Path
pub fn cwd() Path
- Kind
- function
- Module
std.Build.Cache.Path
pub fn dirname(p: Path) ?Path
- Kind
- function
- Module
std.Build.Cache.Path
pub fn eql(self: Path, other: Path) bool
- Kind
- function
- Module
std.Build.Cache.Path
pub fn fmtEscapeString(path: Path) std.fmt.Alt(Path, formatEscapeString)
- Kind
- function
- Module
std.Build.Cache.Path
pub fn format(self: Path, writer: *Io.Writer) Io.Writer.Error!void
- Kind
- function
- Module
std.Build.Cache.Path
pub fn formatEscapeString(path: Path, writer: *Io.Writer) Io.Writer.Error!void
- Kind
- function
- Module
std.Build.Cache.Path
pub fn initCwd(sub_path: []const u8) Path
- Kind
- function
- Module
std.Build.Cache.Path
pub fn join(p: Path, arena: Allocator, sub_path: []const u8) Allocator.Error!Path
- Kind
- function
- Module
std.Build.Cache.Path
pub fn joinString(p: Path, gpa: Allocator, sub_path: []const u8) Allocator.Error![]u8
- Kind
- function
- Module
std.Build.Cache.Path
pub fn joinStringZ(p: Path, gpa: Allocator, sub_path: []const u8) Allocator.Error![:0]u8
- Kind
- function
- Module
std.Build.Cache.Path
pub fn openDir(p: Path, io: Io, sub_path: []const u8, args: Io.Dir.OpenOptions) Io.Dir.OpenError!Io.Dir
- Kind
- function
- Module
std.Build.Cache.Path
pub fn openFile(p: Path, io: Io, sub_path: []const u8, flags: Io.Dir.OpenFileOptions) !Io.File
- Kind
- function
- Module
std.Build.Cache.Path
pub fn resolvePosix(p: Path, arena: Allocator, sub_path: []const u8) Allocator.Error!Path
- Kind
- function
- Module
std.Build.Cache.Path
pub fn statFile(p: Path, io: Io, sub_path: []const u8) !Io.Dir.Stat
- Kind
- function
- Module
std.Build.Cache.Path
pub fn stem(p: Path) []const u8
- Kind
- function
- Module
std.Build.Cache.Path
pub fn subPathOpt(self: Path) ?[]const u8
- Kind
- function
- Module
std.Build.Cache.Path
pub fn subPathOrDot(self: Path) []const u8
- Kind
- function
- Module
std.Build.Cache.Path
Useful to make `Path` a key in `std.ArrayHashMap`.
- Kind
- struct
- Module
std.Build.Cache.Path
pub fn eql(self: TableAdapter, a: Cache.Path, b: Cache.Path, b_index: usize) bool
- Kind
- function
- Module
std.Build.Cache.Path
- Kind
- type
- Module
std.Build.Cache.Path
pub fn hash(self: TableAdapter, a: Cache.Path) u32
- Kind
- function
- Module
std.Build.Cache.Path
pub fn toString(p: Path, allocator: Allocator) Allocator.Error![]u8
- Kind
- function
- Module
std.Build.Cache.Path
pub fn toStringZ(p: Path, allocator: Allocator) Allocator.Error![:0]u8
- Kind
- function
- Module
std.Build.Cache.Path