File: filecontext.go

package info (click to toggle)
witr 0.2.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 736 kB
  • sloc: sh: 79; makefile: 10
file content (16 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package model

// FileContext holds file-related context for a process
type FileContext struct {
	// Number of open file descriptors
	OpenFiles int

	// File descriptor limit for the process
	FileLimit int

	// Files with locks held by this process
	LockedFiles []string

	// Directories being watched (if detectable)
	WatchedDirs []string
}