hi_files 0.1.0

  • README.md
  • Example
  • Installing
  • Versions
  • --

hi_files

A simple library for get file-list of local disk.

Usage: See example.dart.

example/example.dart

// import '../lib/hi_files.dart';
import 'package:hi_files/hi_files.dart';

main() {
	String sPath = 'E:\\Users\\Test';

	C_Dir cDir = new C_Dir(sPath);
	cDir.getSync(1);
	print(cDir.nFilesCount.toString() + ' files');
	print(cDir.nDirsCount.toString() + ' Directories');

	List<String> sExtensions = ['xsl', 'css'];
	C_Dir cDir2 = new C_Dir(sPath, sExtensions);
	cDir2.getSync();
	for (String s in cDir2.sFileName) {
		print(s);
	}
}

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  hi_files: "^0.1.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:hi_files/hi_files.dart';
        
Version Uploaded Documentation Archive
0.2.0 Mar 30, 2014 Go to the documentation of hi_files 0.2.0 Download hi_files 0.2.0 archive
0.1.1 Mar 29, 2014 Go to the documentation of hi_files 0.1.1 Download hi_files 0.1.1 archive
0.1.0 Mar 23, 2014 Go to the documentation of hi_files 0.1.0 Download hi_files 0.1.0 archive
0.1.1-a Mar 29, 2014 Go to the documentation of hi_files 0.1.1-a Download hi_files 0.1.1-a archive

Analysis

This package version is not analyzed, because it is more than two years old. Check the latest stable version for its analysis.