package fs

import "github.com/azin-lang/Azin/internal/fs"

Package fs implements file operations for Azin source files.

Index

Constants

const SourceExtension = ".az"

SourceExtension is the expected file extension for source files.

Functions

func ReadSourceFile

func ReadSourceFile(path string, ignoreExtension bool) ([]byte, error)

ReadSourceFile reads the contents of the given file path.