execbit

package
v0.29.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package execbit reports whether the filesystem has the POSIX execute bit. It is the one place that answers that question.

Cartographer transports an Executable flag on every artifact file and KB asset: a skill's helper script, a hook's entry point, an asset such as check.sh are useless without it. On unix the flag is the file's 0o111 bits. NTFS has no such permission — Go's os.Chmod only toggles the read-only attribute there, and os.Stat reports 0o666 for every regular file — so on Windows the flag cannot round-trip through the filesystem. It still travels through the protocol and is still stored in the KB; what changes is that a file read back from a Windows disk never reports it, and a mode difference there is not drift (D215).

Index

Constants

View Source
const Supported = true

Supported is true: the execute bit is a real permission on this filesystem.

Variables

This section is empty.

Functions

func IsExecutable

func IsExecutable(mode fs.FileMode) bool

IsExecutable reports whether mode carries the execute bit, always false where the filesystem cannot represent one.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL