Sha256: 30d33d264f19803467c96426db085dd2d1bce8d981cde7dcc32f7ebde86781ed

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

module FFI
  class Stat
    # File type mask
    S_IFMT   = 0o170000

    # FIFO
    S_IFIFO  = 0o010000

    # Character device
    S_IFCHR  = 0o020000

    # Directory
    S_IFDIR  = 0o040000

    # Block device
    S_IFBLK  = 0o060000

    # Regular file
    S_IFREG  = 0o100000

    # Symbolic link
    S_IFLNK  = 0o120000

    # Socket
    S_IFSOCK = 0o140000
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffi-libfuse-0.0.1.rctest12 lib/ffi/stat/constants.rb
ffi-libfuse-0.0.1.rctest11 lib/ffi/stat/constants.rb
ffi-libfuse-0.0.1.pre lib/ffi/stat/constants.rb