Changeset 2095
- Timestamp:
- Jun 16, 2007, 6:16:08 PM (15 years ago)
- Location:
- branches/file_selection/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/file_selection/libtransmission/makemeta.c
r2094 r2095 146 146 ret->top = tr_strdup( topFile ); 147 147 148 if (1) { 149 struct stat sb; 150 stat( topFile, &sb ); 151 ret->isSingleFile = !S_ISDIR( sb.st_mode ); 152 } 153 148 154 /* build a list of files containing topFile and, 149 155 if it's a directory, all of its children */ -
branches/file_selection/libtransmission/makemeta.h
r2094 r2095 35 35 size_t pieceSize; 36 36 size_t pieceCount; 37 37 int isSingleFile; 38 38 } 39 39 meta_info_builder_t;
Note: See TracChangeset
for help on using the changeset viewer.