- Added Process.getPid() and Terminal.isTerminal().
- Added a test command-line app.
This commit is contained in:
12
src/main/java/net/rubygrapefruit/platform/PosixFile.java
Normal file
12
src/main/java/net/rubygrapefruit/platform/PosixFile.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package net.rubygrapefruit.platform;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* Functions to query and modify a file's POSIX meta-data.
|
||||
*/
|
||||
public interface PosixFile extends NativeIntegration {
|
||||
void setMode(File path, int perms) throws NativeException;
|
||||
|
||||
int getMode(File path) throws NativeException;
|
||||
}
|
||||
Reference in New Issue
Block a user