capri, a script language

Home | Documentation | Releases | Sources | Contact

Source browser

root / capri-lib-io / file.capri

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

load "io";

/**
 *
 */
class File {

	function native hasChanged(path);
	function native rememberModifyDate(path);
	function native clearModifyCache();

	function native isFolder(path);
	function native cleanFolder(path);
	
	function native listFolder(path);
	function native listTree(path, suffix /*opt*/);
	
	function native getLastModifyTimestamp(path);
	function native getFileName(path);
	function native getAbsolutePath(path);
	function native makeFileNameFromPath(path);
	
	function native createFolder(path);
	function native deleteFolder(path);
	function native copyFolder(source, target);
	
	function native changeDirectory(path);
	function native getCurrentDirectory();
	
	function native copy(source, target);
	function native deleteFile(path);
	function native getPathOfFile(path);
	function native isFile(path);

}